Editor and LSP
Nautilus ships a language server and a VS Code extension for .nautilus files.
Current LSP Features
The upstream nautilus-lsp README describes these capabilities:
- diagnostics after open, change, and save
- completion
- hover
- go-to-definition
- whole-file formatting
- semantic tokens
- full-document sync
VS Code Extension
The extension lives in tools/vscode-nautilus-schema in the upstream repo and is distributed as a .vsix asset in the release bundle.
From the current release, the extension asset is:
vscode-nautilus-schema-*.*.*.vsix
Install the Extension
- Download the
.vsixfrom the upstream Nautilus release. - In VS Code, open
Extensions -> ... -> Install from VSIX.... - Open a
.nautilusfile.
Binary Resolution Order
The extension resolves nautilus-lsp in this order:
nautilus.lspPath- local repo debug build
- cached downloaded binary
nautilus-lsponPATH- GitHub release download
Manual Binary Override
If you manage the binary yourself, set:
json
{
"nautilus.lspPath": "/absolute/path/to/nautilus-lsp"
}Running the LSP From Source
From the upstream repo:
bash
cargo run -p nautilus-orm-lspThe server uses stdio and is intended to be launched by editor integrations.