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

Zeek

Preview

Benjamin Bannier

|
260 installs
| (0) | Free
Zeek language support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Zeek language support for Visual Studio Code

Microsoft Visual Studio Code language extension for Zeek (Bro) Script.

Features

  • [x] IntelliSense (requires zeek-language-server)
  • [x] Formatting (requires zeek-format)
  • [x] Syntax Highlighting
  • [x] Snippets
  • [x] Command to publish open file to https://try.zeek.org

Requirements

This extension needs zeek-language-server for IntelliSense features to work. The extension can download server binaries for x86_64 Darwin and Linux platforms if none is found in the system. If no binaries are provided for your platform you can try to build the language server yourself.

For IntelliSense a Zeek installation is required; zeek-config should to be in PATH, or alternatively set ZEEKPATH to the prefixes containing the system Zeek scripts.

Formatting requires zeek-format somewhere in PATH.

Configuration

This extension provides configuration through VSCode's configuration settings. All configuration settings are under zeekLanguageServer.*.

  • zeekLanguageServer.path: if set used to launch the language server executable; if unset the executable is looked up in PATH.
  • zeekLanguageServer.zeekBinaryDirectory: directory containing Zeek executables. If unset we will attempt to find them in PATH.
  • zeekLanguageServer.checkZeekFormat: check for zeek-format on startup
  • zeekLanguageServer.ZEEKPATH: Colon-separated list of alternative Zeek prefixes to use. By default prefixes are determined from the output of zeek-config.
  • zeekLanguageServer.checkForUpdates: Check for updates of the server binary on startup. By default we check if zeekLanguageServer.path is set. This should only be needed if not using a server binary bundled with the extension.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft