gn-language-server/vscode-gn
nightly-bump[bot] f3ca693a4f
Some checks failed
CI / build (darwin-arm64) (push) Has been cancelled
CI / build (linux-x64) (push) Has been cancelled
CI / build (win32-x64) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / build IntelliJ plugin (push) Has been cancelled
CI / attestation (push) Has been cancelled
CI / upload-release-artifacts (push) Has been cancelled
CI / publish-vscode (push) Has been cancelled
CI / publish-cargo (push) Has been cancelled
Bump version to 1.9.23
2025-12-23 00:24:08 +00:00
..
icons Change the icon of open the nearest BUILD.gn 2025-12-22 15:47:23 +09:00
languages
src Guard vscode-specific logic with custom initialization options 2025-12-22 11:05:43 +09:00
syntaxes Fix syntax highlight for true/false 2025-12-15 17:57:30 +09:00
.editorconfig
.eslintignore
.eslintrc.json
.gitignore
.prettierrc.js
.vscodeignore
CHANGELOG.md
LICENSE
package-lock.json Bump version to 1.9.23 2025-12-23 00:24:08 +00:00
package.json Bump version to 1.9.23 2025-12-23 00:24:08 +00:00
README.md Update README 2025-12-16 15:31:38 +09:00
tsconfig.json
webpack.config.js

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)

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.