ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

MOOSE

by elcarrillo ST3 New

Sublime Text syntax highlighting and language-server support for MOOSE input files

Details

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

MOOSE Sublime Text Support

Sublime Text syntax highlighting and editor support for MOOSE input files.

Features

  • Syntax highlighting for .i MOOSE input files
  • MOOSE block and subblock highlighting
  • Parameter and value highlighting
  • MOOSE object/class highlighting
  • Numeric, string, boolean, and expression highlighting
  • ${...} expression support
  • !include highlighting
  • # comment support
  • Sublime LSP integration with the MOOSE language server
  • Autocomplete
  • Diagnostics
  • Hover documentation

Installation

Copy these files into your Sublime Text User package directory:

~/Library/Application Support/Sublime Text/Packages/User/

Files:

MOOSE.sublime-syntax
MOOSE-Comments.tmPreferences
MOOSE.sublime-settings

MOOSE Language Server

Install the Sublime Text LSP package.

Configure a MOOSE application executable that supports:

--language-server

Example configuration:

{
    "moose": {
        "enabled": true,
        "command": [
            "/path/to/your/moose-app-opt",
            "--language-server"
        ],
        "selector": "source.moose",
        "diagnostics_mode": "all_files"
    }
}

See:

examples/LanguageServers.sublime-settings.example

Using your own MOOSE application executable allows the language server to recognize custom application objects as well as standard MOOSE objects.

MOOSE

MOOSE is the Multiphysics Object-Oriented Simulation Environment developed by Idaho National Laboratory.

https://mooseframework.inl.gov/