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

GN Language

Google

google.com
|
1,805 installs
| (0) | Free
Language server for GN, the build configuration language used in Chromium, Fuchsia, and other projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GN Language Extension for VSCode

A language server for GN, the build configuration language used in Chromium, Fuchsia, and other projects.

Features

  • Syntax highlighting
  • Syntax error reporting
  • Context-aware completion and auto-import
  • Hover documentation
  • Go to definition
  • Finding target references
  • Following imports
  • Following dependencies
  • Quick fix
  • Sticky scroll with useful lines
  • Code lens
  • Outline
  • Code folding
  • Formatting
  • Go to the nearest BUILD.gn (VSCode only)

Gallery

Syntax highlighting

Syntax highlighting

Completion and auto-import

Completion and auto-import

Hover documentation

Hover documentation

Go to definition

Go to definition

Following imports

Following imports

Following dependencies

Following dependencies

Quick fix

Quick fix

Sticky scroll with useful lines

Sticky scroll with useful lines

Code lens

Code lens

Outline

Outline

Code folding

Code folding

Versioning scheme

We use the versioning scheme recommended by the VSCode's official documentation. That is:

  • Pre-release versions are 1.<odd>.x
  • Release versions are 1.<even>.x

Disclaimer

This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.

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