gn-language-server/vscode-gn
nightly-bump[bot] cc0b4dd336
Some checks are pending
CI / lint (push) Waiting to run
CI / build (darwin-arm64) (push) Waiting to run
CI / build (linux-x64) (push) Waiting to run
CI / build (win32-x64) (push) Waiting to run
CI / attestation (push) Blocked by required conditions
CI / upload-release-artifacts (push) Blocked by required conditions
CI / publish-vscode (push) Blocked by required conditions
CI / publish-cargo (push) Blocked by required conditions
Bump version to 1.9.12
2025-12-14 03:38:43 +00:00
..
languages Initial commit 2025-01-06 07:49:20 +09:00
src Fix lint 2025-12-12 09:31:43 +09:00
syntaxes Initial commit 2025-01-06 07:49:20 +09:00
.editorconfig Enable gts 2025-01-30 21:08:48 +09:00
.eslintignore Enable gts 2025-01-30 21:08:48 +09:00
.eslintrc.json Enable gts 2025-01-30 21:08:48 +09:00
.gitignore Packaging 2025-01-26 14:41:00 +09:00
.prettierrc.js Enable gts 2025-01-30 21:08:48 +09:00
.vscodeignore Remove extension tests 2025-01-26 23:07:22 +09:00
CHANGELOG.md Release 1.2.0 2025-04-01 09:06:14 +09:00
LICENSE Initial commit 2025-01-06 07:49:20 +09:00
package-lock.json Bump version to 1.9.12 2025-12-14 03:38:43 +00:00
package.json Bump version to 1.9.12 2025-12-14 03:38:43 +00:00
README.md docs: Mention Fuchsia in docs 2025-04-08 23:25:35 +09:00
tsconfig.json Initial commit 2025-01-06 07:49:20 +09:00
webpack.config.js Enable gts 2025-01-30 21:08:48 +09:00

GN Language Extension for VSCode

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

Features

  • Syntax highlighting
  • Context-aware completion
  • Hover documentation
  • Go to definition
  • Following imports
  • Following dependencies
  • Sticky scroll with useful lines
  • Outline
  • Code folding
  • Formatting
  • Go to the nearest BUILD.gn (VSCode only)

Syntax highlighting

Syntax highlighting

Completion

Completion

Hover documentation

Hover documentation

Go to definition

Go to definition

Following imports

Following imports

Following dependencies

Following dependencies

Sticky scroll with useful lines

Sticky scroll with useful lines

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.