Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>anvil-lspNew to Visual Studio Code? Get it now.
anvil-lsp

anvil-lsp

AnvilHDL

|
2 installs
| (0) | Free
Language support for the AnvilHDL hardware description language: diagnostics, hover, navigation, completion and timing hints.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AnvilHDL

AnvilHDL for Visual Studio Code

Language support for AnvilHDL, a timing-safe hardware description language, powered by the Anvil Language Server.

Hover information and inlay hints

Features

  • Diagnostics: compile errors as you type.
  • Hover: definitions, types, timing contracts and lifetimes, with explanations of Anvil syntax.
  • Navigation: go to definition, go to type definition and find references.
  • Completion: keywords, symbols and context-aware suggestions, with snippets.
  • Signature help: function calls, message sends, record initialisers and spawns.
  • Inlay hints: clock cycles and lifetimes.
  • Syntax highlighting and file icons for .anvil files.

The extension and the compiler's AST output are experimental, and some timing features depend on compiler support that is still incomplete.

Requirements

The extension runs the Anvil compiler to analyse your code. It needs a compiler with AST output (-ast), at commit f1fd09b or later. See the installation instructions.

The compiler is found as anvil on your PATH, or at the path set in anvil.executablePath.

Settings

Setting Default Description
anvil.executablePath anvil on PATH Path to the compiler.
anvil.projectRoot Workspace root Directory in which the compiler runs.
anvil.maxNumberOfProblems 100 Maximum number of diagnostics per file.
anvil.showTimingInfo Condensed inlay hints and hover Where clock-cycle and lifetime information is shown.
anvil.showSyntaxHelp Hover and keyword completions Where explanations of Anvil syntax are shown.
anvil.asciiOnlyIcons false Use ASCII characters instead of Unicode symbols.

Feedback

Report issues at github.com/AnvilHDL/anvil-lsp.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft