Skip to content

Commit

Permalink
add back
Browse files Browse the repository at this point in the history
  • Loading branch information
asukaminato0721 committed Dec 4, 2024
1 parent 5896b82 commit 1a29eba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
".wls",
".wlt",
".mt",
".vsnb"
".vsnb",
".ipynb",
".wlnb"
],
"configuration": "./wolfram.language-configuration.json"
}
Expand Down Expand Up @@ -211,19 +213,19 @@
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf",
"when": "resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb",
"command": "wolfram.OpenNotebook",
"group": "navigation"
}
],
"editor/context": [
{
"when": "resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf",
"when": "resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb",
"command": "wolfram.OpenNotebook",
"group": "navigation"
},
{
"when": "resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf",
"when": "resourceExtname == .nb || resourceExtname == .m || resourceExtname == .wl || resourceExtname == .wls || resourceExtname == .cdf || resourceExtname == .ipynb || resourceExtname == .wlnb",
"command": "workbench.action.terminal.runSelectedText",
"group": "navigation"
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export function activate(context: vscode.ExtensionContext) {
};

let clientOptions: LanguageClientOptions = {
documentSelector: [{ scheme: 'file', language: 'wolfram' }],
documentSelector: [{ language: 'wolfram' }],
initializationOptions: {
implicitTokens: implicitTokens,
// bracketMatcher: bracketMatcher,
Expand Down

0 comments on commit 1a29eba

Please sign in to comment.