mirror of
https://github.com/google/gn-language-server.git
synced 2025-12-23 12:26:43 +00:00
A language server for GN, and a tiny VSCode extension wrapping the server.
| .github/workflows | ||
| docs/screenshots | ||
| scripts | ||
| src | ||
| testdata/workspaces | ||
| vscode-gn | ||
| .clippy.toml | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CONTRIBUTING.md | ||
| deny.toml | ||
| LICENSE | ||
| README.md | ||
GN Language Server
A language server for GN, the build configuration language used for Chromium.
Features
Syntax highlighting
Completion
Hover documentation
Go to definition
Following imports
Following dependencies
Sticky scroll with useful lines
Outline
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.








