Skip to content

Language servers

Ilia Maslakov edited this page Nov 16, 2026 · 1 revision

Language servers

bluerig talks to the language servers of lsp.json: clangd for C and C++, pylsp or pyright for Python, rust-analyzer, gopls, and the servers of TypeScript, Bash, Lua, MongoDB and PostgreSQL. A server knows the language as a compiler does, and the editor asks it what to complete, what a name is and where it is defined, and shows the problems it finds.

On a project opened with bluerig -D the server starts by itself, and the list of completion comes as a name is typed; otherwise LSP > Start server starts it and Ctrl-Space asks for the list.

clangd on main.c: calc_ brings the list of completion, calc_tokenize is chosen with its parameters shown, the unfinished call is marked in the gutter, then Alt-, tells what calc_eval is and Alt-. goes to its definition

The keys

Key Does
Ctrl-Space The list of completion of the word at the cursor
Alt-, What the server says of the name at the cursor
Alt-. Go to the definition of the name at the cursor
Alt-( The parameters of the call at the cursor

The problems the server finds are marked in the gutter; LSP > Problems lists them. F1 in the editor has the whole help of the plugin.

Clone this wiki locally