Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kowalp committed Jun 6, 2022
1 parent 4557562 commit e43647d
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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`.
Expand All @@ -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

Expand Down

0 comments on commit e43647d

Please sign in to comment.