Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SWMF ConfigurationNew to Visual Studio Code? Get it now.
SWMF Configuration

SWMF Configuration

svaberg

|
1,557 installs
| (0) | Free
Syntax highlights and outline view for SWMF configuration files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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 swmf-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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft