File tree Expand file tree Collapse file tree 3 files changed +1
-17
lines changed
Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Original file line number Diff line number Diff line change 195195 "default" : false ,
196196 "description" : " (beta/experimental) Enable incremental type checking across files, so that unsaved file A gets access to unsaved file B."
197197 },
198- "rescript.settings.incrementalTypechecking.debugLogging" : {
199- "type" : " boolean" ,
200- "default" : false ,
201- "description" : " (debug) Enable debug logging (ends up in the extension output)."
202- },
203198 "rescript.settings.cache.projectConfig.enable" : {
204199 "type" : " boolean" ,
205200 "default" : true ,
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export interface extensionConfiguration {
2020 incrementalTypechecking ?: {
2121 enable ?: boolean ;
2222 acrossFiles ?: boolean ;
23- debugLogging ?: boolean ;
2423 } ;
2524 cache ?: {
2625 projectConfig ?: {
@@ -46,7 +45,6 @@ export const initialConfiguration: extensionConfiguration = {
4645 incrementalTypechecking : {
4746 enable : true ,
4847 acrossFiles : false ,
49- debugLogging : false ,
5048 } ,
5149 cache : {
5250 projectConfig : {
Original file line number Diff line number Diff line change @@ -39,16 +39,7 @@ function applyUserConfiguration(configuration: extensionConfiguration) {
3939 configuration ,
4040 ) ;
4141
42- const debugLoggingEnabled =
43- configuration . incrementalTypechecking ?. debugLogging === true ;
44-
45- if ( debugLoggingEnabled ) {
46- // incrementalTypechecking.debugLogging overrides logLevel to retain legacy behavior
47- setLogLevel ( "log" ) ;
48- return ;
49- }
50-
51- const level = config . extensionConfiguration . logLevel as LogLevel | undefined ;
42+ const level = config . extensionConfiguration . logLevel ;
5243
5344 if (
5445 level === "error" ||
You can’t perform that action at this time.
0 commit comments