https://github.com/sublimetext/mcnp
MCNP syntax for Sublime Text
https://github.com/sublimetext/mcnp
Last synced: 5 months ago
JSON representation
MCNP syntax for Sublime Text
- Host: GitHub
- URL: https://github.com/sublimetext/mcnp
- Owner: SublimeText
- License: mit
- Created: 2024-04-13T13:52:02.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T17:55:02.000Z (about 2 years ago)
- Last Synced: 2024-04-14T04:11:01.264Z (about 2 years ago)
- Size: 34.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MCNP
===
[MCNP](https://mcnp.lanl.gov/index.html) syntax definitions for [Sublime Text](https://www.sublimetext.com).

## Installation
### Package Control
The easiest way to install is using [Package Control](https://packagecontrol.io). It's listed as `MCNP`.
1. Open `Command Palette` using ctrl+shift+P or menu item `Tools → Command Palette...`
2. Choose `Package Control: Install Package`
3. Find `MCNP` and hit Enter
### Manual Install
1. Download appropriate [MCNP.sublime-package](https://github.com/SublimeText/MCNP/releases) for your Sublime Text build.
2. Copy it into _Installed Packages_ directory
> [!NOTE]
>
> To find _Installed Packages_...
>
> 1. call _Menu > Preferences > Browse Packages.._
> 2. Navigate to parent folder
> [!WARNING]
>
> Manually installed packages are not automatically updated by Package Control.
## Usage
1. Open an `.mcnp` file
2. Select `View > Syntax > MCNP`
## Credits
The syntax definition is ported from https://github.com/repositony/vscode_mcnp