gn-language-server/vscode-gn
2025-12-22 03:51:02 +00:00
..
icons Add icons 2025-12-22 12:33:16 +09:00
languages Initial commit 2025-01-06 07:49:20 +09:00
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 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.20 2025-12-22 03:51:02 +00:00
package.json Bump version to 1.9.20 2025-12-22 03:51:02 +00:00
README.md Update README 2025-12-16 15:31:38 +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
  • 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.