A language server for GN, and a tiny VSCode extension wrapping the server.
Find a file
Shuhei Takahashi 3800dfeaaa Fix publishing
2025-03-26 10:47:18 +09:00
.github/workflows Fix publishing 2025-03-26 10:47:18 +09:00
docs/screenshots Update screenshots 2025-01-20 22:36:47 +09:00
scripts Initial commit 2025-01-06 07:49:20 +09:00
src Experiment to report syntax errors 2025-03-23 23:45:21 +09:00
testdata/workspaces Add cycles test 2025-02-04 23:19:52 +09:00
vscode-gn Fix publishing 2025-03-26 10:06:02 +09:00
.clippy.toml Suppress false positives of clippy::mutable_key_type 2025-01-22 21:08:17 +09:00
.gitignore Initial commit 2025-01-06 07:49:20 +09:00
build.rs Format 2025-01-26 21:11:28 +09:00
Cargo.lock Prepare for v1.0.0 2025-03-26 09:30:36 +09:00
Cargo.toml Prepare for v1.0.0 2025-03-26 09:30:36 +09: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.