File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 624
624
"type" : " boolean" ,
625
625
"default" : true ,
626
626
"description" : " Show `Debug this method` action for ClassMethods"
627
+ },
628
+ "objectscript.studioActionDebugOutput" : {
629
+ "type" : " boolean" ,
630
+ "default" : false ,
631
+ "description" : " Output the action that VSCode should perform as requested by the server in JSON format."
627
632
}
628
633
}
629
634
},
Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ class StudioActions {
45
45
outputChannel . appendLine ( errorText ) ;
46
46
outputChannel . show ( ) ;
47
47
}
48
- // outputChannel.appendLine(JSON.stringify(userAction));
48
+ if ( config ( ) . studioActionDebugOutput ) {
49
+ outputChannel . appendLine ( JSON . stringify ( userAction ) ) ;
50
+ }
49
51
switch ( serverAction ) {
50
52
case 0 :
51
53
/// do nothing
You can’t perform that action at this time.
0 commit comments