diff --git a/README.md b/README.md index baf818a..9347249 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,11 @@ This extension is for anyone working with (or just reading) input files for Los 3. Customizable `Run` and `Plot` context menus and titlebar buttons. # Installation + +## Manual Install Until this is published on the VS Code Marketplace, it needs to be manually installed. -1. Download `nucomp-mcnp-VERSION.vsix`. +1. Download the latest the latest version from [Releases](https://github.rpi.edu/NuCoMP/mcnp-language-server-vscode/releases). + - Only the `.vsix` file is necessary. 2. Run `code --install-extension nucomp-mcnp-VERSION.vsix`. - Or use `Ctrl+Shift+P` in VS Code and search `Install from VSIX`. 3. Activate the extension is VS Code (if necessary). @@ -27,10 +30,7 @@ This will install the extension to your VS Code extensions folder. - Linux: `~/.vscode/extensions`. - Mac: `~/.vscode/extensions`. -## Language Server Updates -- Replace the `bin` and `lib` directories found in `.../mcnp-server` - -## MCNP Line Limit and Indents +## Configuring MCNP Line Limit and Indents The default line limit in MCNP is 128 characters. An indent of 5 or more spaces is treated as a line continuation. To have VS Code assist with these specifications, add the following to your `settings.json`. @@ -40,6 +40,16 @@ The default line limit in MCNP is 128 characters. An indent of 5 or more spaces "editor.tabSize": 5 } +# Updating + +## Full Extension +- Download and install the latest version. You might have to manually delete the old +version(s) from your VS Code extensions folder. + +## Language Server Only +- Build or [download](https://code.ornl.gov/neams-workbench/mcnp-language-server/-/archive/master/mcnp-language-server-master.zip) a new MCNP language server. +- Replace the `bin` and `lib` directories found in `.../mcnp-server`. + # Input Validation ## Format Requirements