Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>nftables Syntax Highlighting (Ameon)New to Visual Studio Code? Get it now.
nftables Syntax Highlighting (Ameon)

nftables Syntax Highlighting (Ameon)

ameon

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

nftables

Syntax highlighting for nftables configuration files in Visual Studio Code.

Features

  • Syntax highlighting for nftables configuration files
  • Highlighting of tables, chains, sets, counters and rules
  • Highlighting of IPv4 and IPv6 addresses
  • Highlighting of protocols, actions and keywords
  • Highlighting of object declarations and references
  • Bracket matching and automatic closing
  • Comment support
  • Automatic indentation

Supported files

  • .nft

Example

table inet preblock {
  set trusted_ipv4 {
    type ipv4_addr
    flags interval
  }

  chain prerouting {
    type filter hook prerouting priority raw; policy accept;

    ip saddr @trusted_ipv4 accept
  }
}

Publisher

Ameon

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