Skip to content

Commit

Permalink
Show buttons, menus on file type
Browse files Browse the repository at this point in the history
  • Loading branch information
kowalp committed Nov 5, 2022
1 parent 65b1db5 commit 2044e15
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Binary file modified mcnp-server/lib/gov.lanl.mcnp-1.0.0-SNAPSHOT.jar
Binary file not shown.
Binary file modified mcnp-server/lib/gov.lanl.mcnp.ide-1.0.0-SNAPSHOT.jar
Binary file not shown.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nucomp-mcnp",
"displayName": "MCNP Language Server",
"description": "MCNP input validation and editor services. Also supports plot and run scripts.",
"version": "0.0.10",
"version": "0.0.11",
"featureFlags": {
"usingNewPythonInterpreterPathApi": true,
"usingNewPythonInterpreterPathApiV2": true
Expand Down Expand Up @@ -73,12 +73,12 @@
"menus": {
"editor/context": [
{
"when": "!inOutput && config.nucomp-mcnp.showRunCommandInEditorContextMenu",
"when": "!inOutput && config.nucomp-mcnp.showRunCommandInEditorContextMenu && resourceExtname == .mcnp",
"command": "nucomp-mcnp.run",
"group": "navigation"
},
{
"when": "!inOutput && config.nucomp-mcnp.showRunCommandInEditorContextMenu",
"when": "!inOutput && config.nucomp-mcnp.showRunCommandInEditorContextMenu && resourceExtname == .mcnp",
"command": "nucomp-mcnp.runPlotCommand",
"group": "navigation"
},
Expand All @@ -90,31 +90,31 @@
],
"editor/title/run": [
{
"when": "config.nucomp-mcnp.showRunIconInEditorTitleMenu",
"when": "config.nucomp-mcnp.showRunIconInEditorTitleMenu && resourceExtname == .mcnp",
"command": "nucomp-mcnp.run",
"group": "navigation"
},
{
"when": "config.nucomp-mcnp.showRunIconInEditorTitleMenu && resourceExtname == .mcnp",
"command": "nucomp-mcnp.runPlotCommand",
"group": "navigation"
}
],
"editor/title": [
{
"when": "config.nucomp-mcnp.showStopIconInEditorTitleMenu && nucomp-mcnp.codeRunning",
"command": "nucomp-mcnp.stop",
"group": "navigation"
},
{
"when": "config.nucomp-mcnp.showRunIconInEditorTitleMenu",
"command": "nucomp-mcnp.runPlotCommand",
"group": "navigation"
}
],
"explorer/context": [
{
"when": "!explorerResourceIsFolder && config.nucomp-mcnp.showRunCommandInExplorerContextMenu",
"when": "!explorerResourceIsFolder && config.nucomp-mcnp.showRunCommandInExplorerContextMenu && resourceExtname == .mcnp",
"command": "nucomp-mcnp.run",
"group": "navigation"
},
{
"when": "!explorerResourceIsFolder && config.nucomp-mcnp.showRunCommandInExplorerContextMenu",
"when": "!explorerResourceIsFolder && config.nucomp-mcnp.showRunCommandInExplorerContextMenu && resourceExtname == .mcnp",
"command": "nucomp-mcnp.runPlotCommand",
"group": "navigation"
}
Expand Down

0 comments on commit 2044e15

Please sign in to comment.