File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 828
828
"type" : " boolean" ,
829
829
"default" : true ,
830
830
"description" : " If true, parameter declarations are inserted as snippets in function/method call arguments when completing a function/method call"
831
+ },
832
+ "cquery.formatting.enabled" : {
833
+ "type" : " boolean" ,
834
+ "default" : true ,
835
+ "description" : " If document formatting is enabled/disabled"
831
836
}
832
837
}
833
838
}
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ function getClientConfig(context: ExtensionContext) {
133
133
[ 'diagnostics.onType' , 'diagnostics.onType' ] ,
134
134
[ 'codeLens.localVariables' , 'codeLens.onLocalVariables' ] ,
135
135
[ 'emitInactiveRegions' , 'misc.showInactiveRegions' ] ,
136
+ [ 'formatting.enabled' , 'formatting.enabled' ] ,
136
137
] ;
137
138
let clientConfig = {
138
139
launchCommand : '' ,
@@ -142,7 +143,7 @@ function getClientConfig(context: ExtensionContext) {
142
143
} ,
143
144
workspaceSymbol : {
144
145
sort : false ,
145
- }
146
+ } ,
146
147
} ;
147
148
let config = workspace . getConfiguration ( 'cquery' ) ;
148
149
for ( let prop of configMapping ) {
You can’t perform that action at this time.
0 commit comments