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

MOOSE

by elcarrillo ST3

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

Details

Installs

  • Total 3
  • Win 2
  • Mac 1
  • Linux 0
Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11
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 2 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/