@@ -50,20 +50,12 @@ class ReactWebView {
50
50
// vscode.commands.executeCommand('coderoad.open_webview')
51
51
// }
52
52
53
- // // prevents new panels from going on top of coderoad panel
54
- vscode . window . onDidChangeActiveTextEditor ( ( textEditor ?:vscode . TextEditor ) => {
55
- console . log ( 'onDidChangeActiveTextEditor' )
56
- console . log ( textEditor )
57
- // if (!textEditor || textEditor.viewColumn !== vscode.ViewColumn.Two) {
58
- // updateWindows()
59
- // }
60
- } )
61
53
// // // prevents moving coderoad panel on top of left panel
62
- vscode . window . onDidChangeVisibleTextEditors ( ( textEditor :vscode . TextEditor [ ] ) => {
63
- console . log ( 'onDidChangeVisibleTextEditors' )
64
- console . log ( textEditor )
65
- // updateWindows()
66
- } )
54
+ // vscode.window.onDidChangeVisibleTextEditors((textEditors : vscode.TextEditor[]) => {
55
+ // console.log('onDidChangeVisibleTextEditors')
56
+ // console.log(textEditors )
57
+ // // updateWindows()
58
+ // })
67
59
68
60
// TODO: prevent window from moving to the left when no windows remain on rights
69
61
@@ -83,7 +75,6 @@ class ReactWebView {
83
75
}
84
76
85
77
public createOrShow ( ) :void {
86
- // reset layout
87
78
vscode . commands . executeCommand ( 'vscode.setEditorLayout' , {
88
79
orientation :0 ,
89
80
groups :[ { groups :[ { } ] , size :0.6 } , { groups :[ { } ] , size :0.4 } ] ,