A language server for GN, and a tiny VSCode extension wrapping the server.
Find a file
2025-03-27 00:09:19 +00:00
.github/workflows Revert "Fix prerelease" 2025-03-27 07:43:41 +09:00
docs/screenshots Update screenshots 2025-01-20 22:36:47 +09:00
scripts Fix nightly 2025-03-26 23:14:56 +09:00
src Generate builtins.gen.rsi in $OUT_DIR 2025-03-26 21:41:33 +09:00
testdata/workspaces Add cycles test 2025-02-04 23:19:52 +09:00
vscode-gn Bump version to 1.1.1 2025-03-27 00:09:19 +00:00
.clippy.toml Suppress false positives of clippy::mutable_key_type 2025-01-22 21:08:17 +09:00
.gitignore Checkout gn in $OUT_DIR 2025-03-26 21:41:33 +09:00
build.rs Checkout gn in $OUT_DIR 2025-03-26 21:41:33 +09:00
Cargo.lock Bump version to 1.1.1 2025-03-27 00:09:19 +00:00
Cargo.toml Bump version to 1.1.1 2025-03-27 00:09:19 +00:00
CONTRIBUTING.md Initial commit 2025-01-06 07:49:20 +09:00
deny.toml Check licenses with cargo-deny 2025-03-24 20:26:59 +09:00
LICENSE Initial commit 2025-01-06 07:49:20 +09:00
README.md Fix publishing 2025-03-26 10:06:02 +09:00

GN Language Server

A language server for GN, the build configuration language used for Chromium.

Features

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

Building

Language server binary

cargo build --release

VSCode extension

cd vscode-gn
npm install
npm run build
npm run package

Disclaimer

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