@@ -50,20 +50,12 @@ class ReactWebView {
5050// vscode.commands.executeCommand('coderoad.open_webview')
5151// }
5252
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- } )
6153// // // 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+ // })
6759
6860// TODO: prevent window from moving to the left when no windows remain on rights
6961
@@ -83,7 +75,6 @@ class ReactWebView {
8375}
8476
8577public createOrShow ( ) :void {
86- // reset layout
8778vscode . commands . executeCommand ( 'vscode.setEditorLayout' , {
8879orientation :0 ,
8980groups :[ { groups :[ { } ] , size :0.6 } , { groups :[ { } ] , size :0.4 } ] ,