File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " vscode-mlir" ,
3
3
"displayName" : " MLIR" ,
4
4
"description" : " MLIR Language Extension" ,
5
- "version" : " 0.0.11 " ,
5
+ "version" : " 0.0.12 " ,
6
6
"publisher" : " llvm-vs-code-extensions" ,
7
7
"homepage" : " https://mlir.llvm.org/" ,
8
8
"icon" : " icon.png" ,
47
47
"@types/vscode" : " ~1.67.0" ,
48
48
"@vscode/vsce" : " ^2.19.0" ,
49
49
"clang-format" : " ^1.8.0" ,
50
- "typescript" : " ^4.6.4 " ,
50
+ "typescript" : " ^4.9.5 " ,
51
51
"vscode-test" : " ^1.3.0"
52
52
},
53
53
"repository" : {
155
155
"type" : " string" ,
156
156
"description" : " The file path of the mlir-lsp-server executable."
157
157
},
158
+ "mlir.mlir_additional_server_args" : {
159
+ "scope" : " resource" ,
160
+ "type" : " array" ,
161
+ "description" : " A list of additional arguments for mlir-lsp-server executable. E.g. --log=verbose."
162
+ },
158
163
"mlir.pdll_server_path" : {
159
164
"scope" : " resource" ,
160
165
"type" : " string" ,
165
170
"type" : " array" ,
166
171
"description" : " A list of `pdll_compile_commands.yml` database files containing information about .pdll files processed by the server."
167
172
},
173
+ "mlir.pdll_additional_server_args" : {
174
+ "scope" : " resource" ,
175
+ "type" : " array" ,
176
+ "description" : " A list of additional arguments for pdll-lsp-server executable. E.g. --log=verbose."
177
+ },
168
178
"mlir.tablegen_server_path" : {
169
179
"scope" : " resource" ,
170
180
"type" : " string" ,
175
185
"type" : " array" ,
176
186
"description" : " A list of `tablegen_compile_commands.yml` database files containing information about .td files processed by the server."
177
187
},
188
+ "mlir.tablegen_additional_server_args" : {
189
+ "scope" : " resource" ,
190
+ "type" : " array" ,
191
+ "description" : " A list of additional arguments for tblgen-lsp-server executable. E.g. --log=verbose."
192
+ },
178
193
"mlir.onSettingsChanged" : {
179
194
"type" : " string" ,
180
195
"default" : " prompt" ,
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ export class MLIRContext implements vscode.Disposable {
176
176
let configsToWatch : string [ ] = [ ] ;
177
177
let filepathsToWatch : string [ ] = [ ] ;
178
178
let additionalServerArgs : string [ ] = [ ] ;
179
+ additionalServerArgs = config . get < string [ ] > ( languageName + "_additional_server_args" , null , [ ] ) ;
179
180
180
181
// Initialize additional configurations for this server.
181
182
if ( languageName === 'pdll' ) {
You can’t perform that action at this time.
0 commit comments