Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Attack-Defense ModelingNew to Visual Studio Code? Get it now.
Attack-Defense Modeling

Attack-Defense Modeling

Vinay Venkatesh

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

Attack Defense Modeling (ADM) VS Code Extension

This VS Code extension provides syntax highlighting for Attack Defense Modeling (ADM), a dialect of the Gherkin language. ADM tools (adm-cli and admweb) is used to convert attack and defense specifications into a decision graph.

Features

  • Syntax highlighting for ADM files.
  • Autocomplete options for Given, When and And statements in ADM files.
    • See quick reference card to understand the statements that would be presented for auto-complete.
    • For a complete understanding of the ADM language, read the language guide.

Getting Started

Prerequisites

  • Visual Studio Code
  • Git

Installation

  1. Clone this repository into your ~/.vscode/extensions directory.
  2. Open an ADM file in VS Code. The syntax highlighting should automatically apply to .adm files.
  3. If you don't see any highlighting, you may have to run the Reload Window command in VS Code.

Usage

Open any .adm file in VS Code to start using the extension. The syntax highlighting will automatically apply to these files.

For those who want to experiment with this extension, ADDB contains some ADM files.

License

This project is licensed under the MIT License.

Contact

If you have any questions, feel free to open an issue.

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