dotfiles/vscode/.vscode/extensions/kevinrose.vsc-python-indent-1.18.0/package.json
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06:00

123 lines
3.3 KiB
JSON

{
"name": "vsc-python-indent",
"displayName": "Python Indent",
"description": "Correct Python indentation",
"version": "1.18.0",
"engines": {
"vscode": "^1.65.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,
"icon": "static/logo.png",
"activationEvents": [
"onLanguage:python",
"onLanguage:jupyter",
"onDebugResolve:python",
"onCommand:pythonIndent.newlineAndIndent"
],
"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",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint -c .eslintrc.js --ext .ts src/",
"pretest": "npm run compile",
"test": "node ./out/test/runTests.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^16",
"@types/vscode": "^1.65",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.12.0",
"glob": "^7.2.0",
"mocha": "^9.1.0",
"typescript": "^4.6.3"
},
"dependencies": {
"python-indent-parser": "0.1.4"
},
"__metadata": {
"id": "f3cbfb84-b1e1-40ff-b70f-877253461260",
"publisherId": "23d4ba77-bbea-4ea1-94ee-996a1a497aba",
"publisherDisplayName": "Kevin Rose",
"targetPlatform": "undefined",
"isApplicationScoped": false,
"isPreReleaseVersion": false,
"hasPreReleaseVersion": false,
"installedTimestamp": 1718224747285,
"pinned": false,
"preRelease": false,
"source": "gallery"
}
}