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

Directivefile

Directivefile

| (0) | Free
Syntax highlighting and formatting for Directivefile configuration files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Directivefile for VS Code

Language support for Directivefile configuration files.

Requirements

  • Visual Studio Code 1.146.0 or newer

Features

  • Syntax highlighting for directives, parameters, comments, blocks, continuations, and environment placeholders.
  • Syntax error diagnostics in the Problems panel.
  • Formatting for directives, parameter alignment, nested blocks, continuation lines, comments, and blank lines.
  • .df files are recognized automatically; extra file associations are optional.

Settings

Other file suffixes

  • .df files are associated automatically.
  • For files with another suffix, map them to the directivefile language with a glob pattern:
"files.associations": {
  "*.your_suffix": "directivefile"
}
  • For files without a suffix, use a glob pattern that matches the file name:
"files.associations": {
  "your_glob_pattern": "directivefile"
}

Formatter Settings

"[directivefile]": {
  "editor.defaultFormatter": "directivefile.df",
  "editor.formatOnSave": true
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft