File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class MessageHandler {
47
47
if ( this . mcqPanel === null ) {
48
48
this . mcqPanel = vscode . window . createWebviewPanel (
49
49
"mcq-question-panel" ,
50
- `Question ${ message . questionId + 1 } ` ,
50
+ `MCQ ` ,
51
51
vscode . ViewColumn . One ,
52
52
{ enableScripts : true , retainContextWhenHidden : true } ,
53
53
) ;
@@ -62,7 +62,7 @@ export class MessageHandler {
62
62
this . mcqPanel = null ;
63
63
} ) ;
64
64
}
65
- this . mcqPanel . title = `Question ${ message . questionId + 1 } ` ;
65
+ this . mcqPanel . title = `MCQ ` ;
66
66
this . mcqPanel . iconPath = vscode . Uri . joinPath (
67
67
context . extensionUri ,
68
68
"assets" ,
@@ -155,12 +155,6 @@ export class MessageHandler {
155
155
`EXTENSION: Editor ${ editor . assessmentName } _${ editor . questionId } _${ editor . assessmentType } is no longer active, skipping onChange` ,
156
156
) ;
157
157
}
158
- if ( this . activeEditor ) {
159
- console . log ( "activeEditor keys and values:" ) ;
160
- Object . entries ( this . activeEditor ) . forEach ( ( [ key , value ] ) => {
161
- console . log ( `${ key } :` , value ) ;
162
- } ) ;
163
- }
164
158
const message = Messages . Text ( workspaceLocation , code ) ;
165
159
console . log ( `Sending message: ${ JSON . stringify ( message ) } ` ) ;
166
160
sendToFrontend ( this . panel , message ) ;
You can’t perform that action at this time.
0 commit comments