Skip to content

Commit

Permalink
Added datapath option, fixed Windows run command
Browse files Browse the repository at this point in the history
  • Loading branch information
kowalp committed Nov 3, 2022
1 parent 1041942 commit 89438ff
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 19 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ These features need to be configured through the `Extension Settings` menu.
- E.g. - `bash .../my_plot_script`.
- `Executable` - The absolute path to the MCNP executable.
- E.g. - `.../MCNP620/MCNP_CODE/bin/mcnp6`.
- `Data_path` - The absolute path to MCNP's data directory.
- E.g. - `.../MCNP620/MCNP_DATA`.
- `Run_args` - Additional arguments for MCNP execution.
- E.g. - `TASKS 6`.
- `Plot_args` - Additional arguments for MCNP Plotter execution.
Expand Down
26 changes: 13 additions & 13 deletions out/extension.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 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.9",
"version": "0.0.10",
"featureFlags": {
"usingNewPythonInterpreterPathApi": true,
"usingNewPythonInterpreterPathApiV2": true
Expand Down Expand Up @@ -145,7 +145,13 @@
"nucomp-mcnp.xsdir": {
"type": "string",
"default": "",
"description": "Set the MCNP XS directory.",
"description": "Set the MCNP XS directory file.",
"scope": "resource"
},
"nucomp-mcnp.data_path": {
"type": "string",
"default": "",
"description": "Set the MCNP DATA path.",
"scope": "resource"
},
"nucomp-mcnp.run_args": {
Expand Down
31 changes: 27 additions & 4 deletions src/codeManager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 89438ff

Please sign in to comment.