|
2 | 2 | "name": "bazel-stack-vscode", |
3 | 3 | "displayName": "bazel-stack-vscode", |
4 | 4 | "description": "Bazel Support for Visual Studio Code", |
5 | | - "version": "0.3.5", |
| 5 | + "version": "0.4.0", |
6 | 6 | "publisher": "StackBuild", |
7 | 7 | "license": "Apache-2.0", |
8 | 8 | "icon": "stackb-full.png", |
|
35 | 35 | "type": "object", |
36 | 36 | "title": "Bzl", |
37 | 37 | "properties": { |
| 38 | + "feature.starlark.lsp.enabled": { |
| 39 | + "type": "boolean", |
| 40 | + "default": false, |
| 41 | + "description": "Flag to enable/disable this feature" |
| 42 | + }, |
| 43 | + "feature.starlark.lsp.verbose": { |
| 44 | + "type": "number", |
| 45 | + "default": 0, |
| 46 | + "description": "The verbosity level for extra diagnostics" |
| 47 | + }, |
| 48 | + "feature.starlark.lsp.server.executable": { |
| 49 | + "type": "string", |
| 50 | + "description": "Path to a pre-installed LSP executable\n\n> if set, this prevents downloading a LSP binary from github" |
| 51 | + }, |
| 52 | + "feature.starlark.lsp.github-release": { |
| 53 | + "type": "string", |
| 54 | + "default": "0.3.5", |
| 55 | + "description": "The github release tag of the starlark-lsp release to download" |
| 56 | + }, |
| 57 | + "feature.starlark.lsp.github-owner": { |
| 58 | + "type": "string", |
| 59 | + "default": "stackb", |
| 60 | + "description": "The github owner for the starlark.lsp repository" |
| 61 | + }, |
| 62 | + "feature.starlark.lsp.github-repo": { |
| 63 | + "type": "string", |
| 64 | + "default": "bazel-stack-vscode", |
| 65 | + "description": "The github repo name for the starlark-lsp repository" |
| 66 | + }, |
| 67 | + "feature.starlark.lsp.server.command": { |
| 68 | + "type": "array", |
| 69 | + "description": "The command (and optional arguments) to start the lsp server.", |
| 70 | + "items": { |
| 71 | + "type": "string" |
| 72 | + }, |
| 73 | + "default": [ |
| 74 | + "lsp", |
| 75 | + "serve", |
| 76 | + "--log_level=info" |
| 77 | + ] |
| 78 | + }, |
38 | 79 | "feature.buildifier.enabled": { |
39 | 80 | "type": "boolean", |
40 | 81 | "default": true, |
41 | | - "markdownDescription": "Feature flag to enable (checked) or disable (unchecked)" |
| 82 | + "description": "Flag to enable/disable this feature" |
42 | 83 | }, |
43 | 84 | "feature.buildifier.verbose": { |
44 | 85 | "type": "number", |
45 | 86 | "default": 0, |
46 | | - "markdownDescription": "The verbosity level for extra diagnostics" |
| 87 | + "description": "The verbosity level for extra diagnostics" |
47 | 88 | }, |
48 | 89 | "feature.buildifier.github-release": { |
49 | 90 | "type": "string", |
50 | 91 | "default": "3.4.0", |
51 | | - "markdownDescription": "The github release tag of the Buildifier release to download" |
| 92 | + "description": "The github release tag of the Buildifier release to download" |
52 | 93 | }, |
53 | 94 | "feature.buildifier.github-owner": { |
54 | 95 | "type": "string", |
55 | 96 | "default": "bazelbuild", |
56 | | - "markdownDescription": "The github owner for the buildifier repository" |
| 97 | + "description": "The github owner for the buildifier repository" |
57 | 98 | }, |
58 | 99 | "feature.buildifier.github-repo": { |
59 | 100 | "type": "string", |
60 | 101 | "default": "buildtools", |
61 | | - "markdownDescription": "The github repo name for the buildifier repository" |
| 102 | + "description": "The github repo name for the buildifier repository" |
62 | 103 | }, |
63 | 104 | "feature.buildifier.executable": { |
64 | 105 | "type": "string", |
65 | | - "markdownDescription": "Path to a pre-installed buildifier executable.\n\n If set, this prevents downloading a buildifier binary from github" |
| 106 | + "description": "Path to a pre-installed buildifier executable\n\n> if set, this prevents downloading a buildifier binary from github" |
66 | 107 | }, |
67 | 108 | "feature.buildifier.fix-on-format": { |
68 | 109 | "type": "boolean", |
|
72 | 113 | "feature.bazeldoc.enabled": { |
73 | 114 | "type": "boolean", |
74 | 115 | "default": true, |
75 | | - "markdownDescription": "Feature flag to enable (checked) or disable (unchecked)" |
| 116 | + "description": "Flag to enable/disable this feature" |
76 | 117 | }, |
77 | 118 | "feature.bazeldoc.verbose": { |
78 | 119 | "type": "number", |
79 | 120 | "default": 0, |
80 | | - "markdownDescription": "The verbosity level for extra diagnostics" |
| 121 | + "description": "The verbosity level for extra diagnostics" |
81 | 122 | }, |
82 | 123 | "feature.bazeldoc.base-url": { |
83 | 124 | "type": "string", |
84 | 125 | "default": "https://docs.bazel.build/versions/master", |
85 | | - "markdownDescription": "The base-url of the documentation site" |
| 126 | + "description": "The base-url of the documentation site" |
86 | 127 | } |
87 | 128 | } |
88 | 129 | }, |
|
163 | 204 | "lint": "eslint src --ext ts", |
164 | 205 | "watch": "tsc -watch -p ./", |
165 | 206 | "pretest": "npm run compile && npm run lint", |
166 | | - "test": "node ./out/test/runTest.js" |
| 207 | + "test": "node ./out/test/runTest.js", |
| 208 | + "vscode-install": "vsce package --out ext.vsix && code --install-extension ext.vsix" |
167 | 209 | }, |
168 | 210 | "dependencies": { |
169 | 211 | "@octokit/rest": "18.0.3", |
170 | 212 | "fs-extra": "9.0.1", |
171 | | - "request": "2.88.2" |
| 213 | + "request": "2.88.2", |
| 214 | + "vscode-languageclient": "6.1.3" |
172 | 215 | }, |
173 | 216 | "devDependencies": { |
174 | 217 | "@octokit/types": "5.2.0", |
|
0 commit comments