File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 42
42
" .wls" ,
43
43
" .wlt" ,
44
44
" .mt" ,
45
- " .vsnb"
45
+ " .vsnb" ,
46
+ " .ipynb" ,
47
+ " .wlnb"
46
48
],
47
49
"configuration" : " ./wolfram.language-configuration.json"
48
50
}
211
213
"menus" : {
212
214
"explorer/context" : [
213
215
{
214
- "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf" ,
216
+ "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb " ,
215
217
"command" : " wolfram.OpenNotebook" ,
216
218
"group" : " navigation"
217
219
}
218
220
],
219
221
"editor/context" : [
220
222
{
221
- "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf" ,
223
+ "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb " ,
222
224
"command" : " wolfram.OpenNotebook" ,
223
225
"group" : " navigation"
224
226
},
225
227
{
226
- "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf" ,
228
+ "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb " ,
227
229
"command" : " workbench.action.terminal.runSelectedText" ,
228
230
"group" : " navigation"
229
231
},
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ export function activate(context: vscode.ExtensionContext) {
205
205
} ;
206
206
207
207
let clientOptions : LanguageClientOptions = {
208
- documentSelector : [ { scheme : 'file' , language : 'wolfram' } ] ,
208
+ documentSelector : [ { language : 'wolfram' } ] ,
209
209
initializationOptions : {
210
210
implicitTokens : implicitTokens ,
211
211
// bracketMatcher: bracketMatcher,
You can’t perform that action at this time.
0 commit comments