File tree Expand file tree Collapse file tree 3 files changed +3
-30
lines changed
microclimate/project/logs/deprecated Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Original file line number Diff line number Diff line change 3636 },
3737 "icon" : " res/img/microclimate.png" ,
3838 "contributes" : {
39- "configuration" : {
40- "type" : " object" ,
41- "title" : " Microclimate Tools" ,
42- "properties" : {
43- "microclimate.openLogsOnChange.app" : {
44- "type" : " boolean" ,
45- "default" : false ,
46- "description" : " %settingDesc_showLogOnChange_app%"
47- },
48- "microclimate.openLogsOnChange.build" : {
49- "type" : " boolean" ,
50- "default" : true ,
51- "description" : " %settingDesc_showLogOnChange_build%"
52- }
53- }
54- },
5539 "views" : {
5640 "explorer" : [
5741 {
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ enum Settings {
1717 CONFIG_SECTION = "microclimate" ,
1818 CONNECTIONS_KEY = "connections" ,
1919
20- OPEN_ON_CHANGE_APP = "openLogsOnChange.app" ,
21- OPEN_ON_CHANGE_BUILD = "openLogsOnChange.build"
20+ // OPEN_ON_CHANGE_APP = "openLogsOnChange.app",
21+ // OPEN_ON_CHANGE_BUILD = "openLogsOnChange.build"
2222}
2323
2424export default Settings ;
Original file line number Diff line number Diff line change 1212import * as vscode from "vscode" ;
1313
1414import Log from "../../../../Logger" ;
15- import Settings from "../../../../constants/Settings" ;
1615import StringNamespaces from "../../../../constants/strings/StringNamespaces" ;
1716import Translator from "../../../../constants/strings/translator" ;
1817
@@ -87,18 +86,8 @@ export class MCLogOld implements vscode.QuickPickItem {
8786 }
8887 }
8988
90- /**
91- * Call this whenever this log gets updated. It will show the log if the user has that preference set.
92- */
9389 protected onChange ( ) : void {
94- const setting : string = this . logType === MCLogOld . LogTypes . APP ? Settings . OPEN_ON_CHANGE_APP : Settings . OPEN_ON_CHANGE_BUILD ;
95-
96- const showOnChange : boolean = vscode . workspace . getConfiguration ( Settings . CONFIG_SECTION )
97- . get ( setting , false ) ;
98-
99- if ( showOnChange ) {
100- this . showOutputChannel ( ) ;
101- }
90+ // nothing now
10291 }
10392}
10493
You can’t perform that action at this time.
0 commit comments