Go to file
2024-05-25 22:16:31 +02:00
.vscode Commit .vscode folder used by vscode-test 2020-02-06 09:45:37 +10:00
images Use LFS 2020-05-09 19:36:25 +10:00
src Use const keyword 2023-01-19 23:43:45 +01:00
syntaxes Before creating a package 2019-11-28 15:37:37 +10:00
.eslintrc.json Added empty test suite 2023-01-19 23:43:26 +01:00
.gitattributes Use LFS 2020-05-09 19:36:25 +10:00
.gitignore Commit .vscode folder used by vscode-test 2020-02-06 09:45:37 +10:00
.travis.yml Fix typo in yaml 2019-12-02 16:01:20 +10:00
CHANGELOG.md Update changelog 2023-01-20 00:00:17 +01:00
demo.in Remove reference to monokai 2023-01-19 22:15:01 +01:00
INSTALL.md Rename to vue2-grammar 2024-05-25 22:16:31 +02:00
language-configuration.json Before creating a package 2019-11-28 15:37:37 +10:00
LICENSE Published on github 2019-11-28 16:55:04 +10:00
package-lock.json Rename to vue2-grammar 2024-05-25 22:16:31 +02:00
package.json Rename to vue2-grammar 2024-05-25 22:16:31 +02:00
README.md Rename to vue2-grammar 2024-05-25 22:16:31 +02:00
tsconfig.json Regenerated json files 2023-01-19 23:26:20 +01:00
vsc-extension-quickstart.md Created with yo 2019-11-26 23:02:14 +10:00

SWMF Configuration

Build Status GitHub package.json version License: MIT

This is a Visual Studio Code extension and should be installed from the VS Code extensions marketplace

This extension provides syntax highlighting, outline view, breadcrumbs, and some code completion for Space Weather Modelling Framework (SWMF) configuration files, such as the BATSRUS PARAM.in file. The rules are based on the SWMF manual section 3.2.2.

Automatically highlights files ending in .in and .IN. For files lacking these extensions, the language can be set manually via normal VS Code mechanisms.

Features demo

Features

  • Syntax highlighting;
  • Hierarchical document tree in the outline view;
  • Breadcrumbs support;
  • Toggle comment using ! as comment character;
  • Code folding between #BEGIN_COMP and #END_COMP markers;
  • Autoclosing of #BEGIN_COMP.

Installation

This is a Visual Studio Code extension. It is best installed from the on-line extensions marketplace, or from inside VS Code: Click on Preferences/Extensions and type vue2-grammar into the search box.

To test the installation, just open a handy SWMF PARAM.in file.

Alternatively, the extension can be built, installed and tested manually.