mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-05 13:27:10 +03:00
224 lines
5.7 KiB
JSON
224 lines
5.7 KiB
JSON
{
|
|
"name": "cursorless",
|
|
"displayName": "Cursorless",
|
|
"description": "Don't let the cursor slow you down",
|
|
"icon": "images/icon.png",
|
|
"galleryBanner": {
|
|
"color": "#00001A",
|
|
"theme": "dark"
|
|
},
|
|
"version": "0.20.1",
|
|
"publisher": "pokey",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pokey/cursorless-vscode.git"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.53.0"
|
|
},
|
|
"extensionKind": [
|
|
"workspace"
|
|
],
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"extensionDependencies": [
|
|
"pokey.parse-tree"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./dist/extension.js",
|
|
"capabilities": {
|
|
"untrustedWorkspaces": {
|
|
"supported": true
|
|
}
|
|
},
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "cursorless.command",
|
|
"title": "Cursorless: Perform command"
|
|
},
|
|
{
|
|
"command": "cursorless.toggleDecorations",
|
|
"title": "Cursorless: Toggle decorations"
|
|
},
|
|
{
|
|
"command": "cursorless.recomputeDecorationStyles",
|
|
"title": "Cursorless: Recompute decoration styles"
|
|
},
|
|
{
|
|
"command": "cursorless.recordTestCase",
|
|
"title": "Cursorless: Record test case"
|
|
}
|
|
],
|
|
"colors": [
|
|
{
|
|
"id": "cursorless.pendingDeleteBackground",
|
|
"description": "Background color to use for ranges about to be deleted",
|
|
"defaults": {
|
|
"dark": "#ff00008a",
|
|
"light": "#ff00008a",
|
|
"highContrast": "#ff00008a"
|
|
}
|
|
},
|
|
{
|
|
"id": "cursorless.referencedBackground",
|
|
"description": "Background color to use for ranges that are being referenced",
|
|
"defaults": {
|
|
"dark": "#00a2ff4d",
|
|
"light": "#00a2ff4d",
|
|
"highContrast": "#00a2ff4d"
|
|
}
|
|
},
|
|
{
|
|
"id": "cursorless.justAddedBackground",
|
|
"description": "Background color to use for ranges that have just been added",
|
|
"defaults": {
|
|
"dark": "#09ff005b",
|
|
"light": "#09ff005b",
|
|
"highContrast": "#09ff005b"
|
|
}
|
|
},
|
|
{
|
|
"id": "cursorless.pendingModification0Background",
|
|
"description": "Background color to use for ranges that are being changed",
|
|
"defaults": {
|
|
"dark": "#8c00ff86",
|
|
"light": "#8c00ff86",
|
|
"highContrast": "#8c00ff86"
|
|
}
|
|
},
|
|
{
|
|
"id": "cursorless.pendingModification1Background",
|
|
"description": "Background color to use for ranges that are being changed",
|
|
"defaults": {
|
|
"dark": "#ff009d7e",
|
|
"light": "#ff009d7e",
|
|
"highContrast": "#ff009d7e"
|
|
}
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Cursorless",
|
|
"properties": {
|
|
"cursorless.showOnStart": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Whether to show decorations on vscode start."
|
|
},
|
|
"cursorless.pendingEditDecorationTime": {
|
|
"type": "integer",
|
|
"default": 100,
|
|
"description": "How long in milliseconds to show a pending edit decoration"
|
|
},
|
|
"cursorless.showAdditionalHighlightBeforeScroll": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Whether to show a highlight before scrolling in addition to after"
|
|
},
|
|
"cursorless.hatSizeAdjustment": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "Percentage to increase or decrease hat size; positive increases size"
|
|
},
|
|
"cursorless.hatVerticalOffset": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "How much to vertically shift the hats as a percentage of font size; positive is up"
|
|
},
|
|
"cursorless.colors.default": {
|
|
"description": "Color to use for default symbols",
|
|
"type": "object",
|
|
"default": {
|
|
"dark": "#cdc7f0",
|
|
"light": "#000000",
|
|
"highContrast": "#000000"
|
|
}
|
|
},
|
|
"cursorless.colors.green": {
|
|
"description": "Color to use for green symbols",
|
|
"type": "object",
|
|
"default": {
|
|
"dark": "#22d618",
|
|
"light": "#2ec426",
|
|
"highContrast": "#2ec426"
|
|
}
|
|
},
|
|
"cursorless.colors.red": {
|
|
"description": "Color to use for red symbols",
|
|
"type": "object",
|
|
"default": {
|
|
"dark": "#e96900",
|
|
"light": "#ff3300",
|
|
"highContrast": "#ff3300"
|
|
}
|
|
},
|
|
"cursorless.colors.yellow": {
|
|
"description": "Color to use for yellow symbols",
|
|
"type": "object",
|
|
"default": {
|
|
"dark": "#f1cd00",
|
|
"light": "#f0b800",
|
|
"highContrast": "#f0b800"
|
|
}
|
|
},
|
|
"cursorless.colors.purple": {
|
|
"description": "Color to use for purple symbols",
|
|
"type": "object",
|
|
"default": {
|
|
"dark": "#de25ff",
|
|
"light": "#ff00f2",
|
|
"highContrast": "#ff00f2"
|
|
}
|
|
},
|
|
"cursorless.colors.blue": {
|
|
"description": "Color to use for blue symbols",
|
|
"type": "object",
|
|
"default": {
|
|
"dark": "#00b7ff",
|
|
"light": "#19a1d6",
|
|
"highContrast": "#19a1d6"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
|
|
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
|
|
"esbuild": "npm run -S esbuild-base -- --sourcemap",
|
|
"esbuild-watch": "npm run -S esbuild-base -- --sourcemap --watch",
|
|
"test-compile": "tsc -p ./",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "yarn run compile && yarn run lint",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "node ./out/test/runTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/glob": "^7.1.3",
|
|
"@types/js-yaml": "^4.0.2",
|
|
"@types/mocha": "^8.0.4",
|
|
"@types/node": "^12.11.7",
|
|
"@types/sinon": "^10.0.2",
|
|
"@types/vscode": "^1.53.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.9.0",
|
|
"@typescript-eslint/parser": "^4.9.0",
|
|
"esbuild": "^0.11.12",
|
|
"eslint": "^7.15.0",
|
|
"glob": "^7.1.7",
|
|
"js-yaml": "^4.1.0",
|
|
"mocha": "^8.1.3",
|
|
"sinon": "^11.1.1",
|
|
"typescript": "^4.1.2",
|
|
"vscode-test": "^1.4.1"
|
|
},
|
|
"dependencies": {
|
|
"@types/lodash": "^4.14.168",
|
|
"immutability-helper": "^3.1.1",
|
|
"lodash": "^4.17.21"
|
|
}
|
|
} |