Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MODFLOW 6 SyntaxNew to Visual Studio Code? Get it now.
MODFLOW 6 Syntax

MODFLOW 6 Syntax

martclanor

|
49 installs
| (2) | Free
Provides syntax highlighting support and rich language features for MODFLOW 6
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code MODFLOW 6 Syntax

CI GitHub package.json version GitHub License

Icon

[!NOTE] This project is currently in beta. Features and functionality may change, and there may be bugs. Feedback and contributions to help improve the project are welcome.

This VS Code extension provides syntax highlighting support and rich language features for MODFLOW 6. It enhances the readability and editing experience for MF6 files by leveraging specifications directly from MF6 DFN files.

Features

Demo

  • Syntax highlighting

  • Go-to-definition for linked files:

    • Ctrl + click
    • Go To Definition keybinding (default: F12)
  • Hover for keyword description

  • Others:

    • Block folding
    • Snippet (MF6 block)
    • Comment-toggling
    • Auto-closing quotes
    • Surrounding quotes

Usage

  • The extension activates based on the file's extension. If not detected, use MF6 Syntax: Set language to MF6. Alternatively, use the Change Language Mode command to set the language manually.
  • To avoid performance issues when opening huge files, a maximum file size that can be opened through the go-to-definition feature is set with the setting: mf6Syntax.maxFileSizeMB (default 50MB).
  • VS Code's minimap can display enlarged section headers (MF6 block names), which may appear cluttered. To simplify the view, disable this feature by setting editor.minimap.showRegionSectionHeaders to false.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft