aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorIndrajith K L2017-09-20 17:36:13 +0530
committerIndrajith K L2017-09-20 17:36:13 +0530
commitb2eb4987896cd70bd594aaed11dd075e463cb2a5 (patch)
treeb15e5995b1ef8d800294456e744af0234c0153b4 /package.json
parentfa707962d8bd220b611f6f5f29cba11ca7e67a92 (diff)
downloadKopyPlugin-b2eb4987896cd70bd594aaed11dd075e463cb2a5.tar.gz
KopyPlugin-b2eb4987896cd70bd594aaed11dd075e463cb2a5.tar.bz2
KopyPlugin-b2eb4987896cd70bd594aaed11dd075e463cb2a5.zip
Added context menu and get selected text
Diffstat (limited to 'package.json')
-rw-r--r--package.json82
1 files changed, 48 insertions, 34 deletions
diff --git a/package.json b/package.json
index 7991635..1ff17f0 100644
--- a/package.json
+++ b/package.json
@@ -1,37 +1,51 @@
{
- "name": "kopy-io-plugin",
- "displayName": "Kopy.io Plugin",
- "description": "An unofficial plugin for kopy.io",
- "version": "0.0.1",
- "publisher": "indrajithkl",
- "engines": {
- "vscode": "^1.16.0"
- },
- "categories": [
- "Other"
+ "name": "kopy-io-plugin",
+ "displayName": "Kopy.io Plugin",
+ "description": "An unofficial plugin for kopy.io",
+ "version": "0.0.1",
+ "publisher": "indrajithkl",
+ "engines": {
+ "vscode": "^1.16.0"
+ },
+ "categories": [
+ "Other"
+ ],
+ "activationEvents": [
+ "onCommand:extension.kopyit"
+ ],
+ "main": "./out/src/extension",
+ "contributes": {
+ "commands": [
+ {
+ "command": "extension.kopyit",
+ "title": "Kopy.io it."
+ }
],
- "activationEvents": [
- "onCommand:extension.sayHello"
- ],
- "main": "./out/src/extension",
- "contributes": {
- "commands": [{
- "command": "extension.sayHello",
- "title": "Hello World"
- }]
- },
- "scripts": {
- "vscode:prepublish": "npm run compile",
- "compile": "tsc -p ./",
- "watch": "tsc -watch -p ./",
- "postinstall": "node ./node_modules/vscode/bin/install",
- "test": "npm run compile && node ./node_modules/vscode/bin/test"
- },
- "devDependencies": {
- "typescript": "^2.5.2",
- "vscode": "^1.1.5",
- "mocha": "^3.5.0",
- "@types/node": "^7.0.43",
- "@types/mocha": "^2.2.42"
+ "menus": {
+ "editor/context": [
+ {
+ "when": "editorHasSelection",
+ "command": "extension.kopyit",
+ "group": "myGroup@1"
+ }
+ ]
}
-} \ No newline at end of file
+ },
+ "scripts": {
+ "vscode:prepublish": "npm run compile",
+ "compile": "tsc -p ./",
+ "watch": "tsc -watch -p ./",
+ "postinstall": "node ./node_modules/vscode/bin/install",
+ "test": "npm run compile && node ./node_modules/vscode/bin/test"
+ },
+ "devDependencies": {
+ "typescript": "^2.5.2",
+ "vscode": "^1.1.5",
+ "mocha": "^3.5.0",
+ "@types/node": "^7.0.43",
+ "@types/mocha": "^2.2.42"
+ },
+ "dependencies": {
+ "axios": "^0.16.2"
+ }
+}