-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
117 lines (117 loc) · 4.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "vsc-python-indent",
"displayName": "Python Indent",
"description": "Correct Python indentation",
"version": "1.19.0",
"engines": {
"vscode": "^1.93.0"
},
"repository": {
"type": "git",
"url": "https://github.com/kbrose/vsc-python-indent"
},
"publisher": "KevinRose",
"license": "MIT",
"categories": [
"Formatters",
"Keymaps",
"Programming Languages"
],
"keywords": [
"python",
"indent",
"dedent",
"indentation",
"whitespace"
],
"qna": false,
"capabilities": {
"untrustedWorkspaces": {
"supported": true
},
"virtualWorkspaces": true
},
"icon": "static/logo.png",
"activationEvents": [
"onLanguage:python",
"onLanguage:jupyter",
"onDebugResolve:python"
],
"main": "./out/extension.js",
"contributes": {
"keybindings": [
{
"command": "pythonIndent.newlineAndIndent",
"key": "enter",
"when": "editorTextFocus && !editorHasMultipleSelections && editorLangId == python && !suggestWidgetVisible && !vim.active && !neovim.mode"
},
{
"command": "pythonIndent.newlineAndIndent",
"key": "enter",
"when": "editorTextFocus && !editorHasMultipleSelections && editorLangId == python && !suggestWidgetVisible && vim.active == true && vim.mode =~ /(Insert|Replace|SurroundInputMode)/"
},
{
"command": "pythonIndent.newlineAndIndent",
"key": "enter",
"when": "editorTextFocus && !editorHasMultipleSelections && editorLangId == python && !suggestWidgetVisible && neovim.mode == insert"
}
],
"commands": [
{
"command": "pythonIndent.newlineAndIndent",
"title": "newline and auto indent"
}
],
"configuration": {
"type": "object",
"title": "Python Indent configuration",
"properties": {
"pythonIndent.useTabOnHangingIndent": {
"type": "boolean",
"default": false,
"description": "After creating a hanging indent, press tab to leave the indented section and go to the ending bracket."
},
"pythonIndent.trimLinesWithOnlyWhitespace": {
"type": "boolean",
"default": false,
"description": "Trims lines that contain only whitespace after pressing Enter on them."
},
"pythonIndent.keepHangingBracketOnLine": {
"type": "boolean",
"default": false,
"description": "When creating a hanging indent, do not put the closing bracket on its own line."
}
}
}
},
"extensionKind": [
"ui",
"workspace"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"wasm-compile-dev": "wasm-pack build --release --no-pack --target nodejs --out-dir src/parse-wasm",
"wasm-compile-release": "wasm-pack build --no-pack --target nodejs --out-dir out/parse-wasm",
"wasm-compile": "npm run wasm-compile-dev && npm run wasm-compile-release",
"compile": "npm run wasm-compile && tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint -c .eslintrc.js --ext .ts src/",
"pretest": "npm run compile",
"test": "cargo test && vscode-test"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.16.14",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"glob": "^7.2.0",
"mocha": "^10.2.0",
"typescript": "^5.6.2"
}
}