File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 37
37
" .m" ,
38
38
" .wls" ,
39
39
" .wlt" ,
40
- " .mt"
40
+ " .mt" ,
41
+ " .ipynb" ,
42
+ " .wlnb"
41
43
],
42
44
"configuration" : " ./wolfram.language-configuration.json"
43
45
}
152
154
"menus" : {
153
155
"explorer/context" : [
154
156
{
155
- "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf" ,
157
+ "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb " ,
156
158
"command" : " wolfram.OpenNotebook" ,
157
159
"group" : " navigation"
158
160
}
159
161
],
160
162
"editor/context" : [
161
163
{
162
- "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf" ,
164
+ "when" : " resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb " ,
163
165
"command" : " wolfram.OpenNotebook" ,
164
166
"group" : " navigation"
165
167
}
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export function activate(context: ExtensionContext) {
136
136
} ;
137
137
138
138
let clientOptions : LanguageClientOptions = {
139
- documentSelector : [ { scheme : 'file' , language : 'wolfram' } ] ,
139
+ documentSelector : [ { language : 'wolfram' } ] ,
140
140
initializationOptions : {
141
141
implicitTokens : implicitTokens ,
142
142
// bracketMatcher: bracketMatcher,
You can’t perform that action at this time.
0 commit comments