Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GalacticusNew to Visual Studio Code? Get it now.
Galacticus

Galacticus

GalacticusOrg

|
262 installs
| (0) | Free
Galacticus support for VSCode: highlights embedded XML directives and reStructuredText docstrings in source, and links functionClass definitions to the online documentation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Galacticus Code

VSCode support for working on Galacticus.

Features

  • Embedded syntax highlighting inside .F90 source files:
    • XML directive blocks — !![ ... !!]
    • reStructuredText docstrings — !!{RST ... !!}
  • Open Documentation for functionClass — a command (also on the editor right-click menu for .F90 files) that deep-links to the online documentation for the class defined in the current file. It works both on a functionClass base class (_class.F90) and on a concrete implementation, opening the family page at the correct physics-<name> anchor. Run it from the Command Palette (Galacticus: Open Documentation for functionClass), the context menu, or the keybinding Ctrl+K Ctrl+G (Cmd+K Cmd+G on macOS) while a .F90 file is focused. If a file defines more than one class, you are prompted to choose.

Installation

Install it from the Marketplace in VSCode.

Depends on:

  • Modern Fortran — provides the Fortran grammar the highlighting injects into.
  • reStructuredText Syntax highlighting — provides the RST grammar used for docstring blocks.

Both are installed automatically as dependencies.

Settings

  • galacticus.docsBaseUrl (default https://galacticus.readthedocs.io/en/latest/) — base URL used by the documentation command. Point it at a different build (e.g. a local or versioned docs build) if needed. The command constructs <base>/physics/<family>.html#physics-<name>.

Enjoy!

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