Claude Code

Install a Code Intelligence Plugin So Claude Reads Fewer Files

An official plugin type that lets Claude jump to a function's definition by symbol instead of searching text and opening several files. The install for your language, what it adds, and the catch

2min read
1prompts to copy
6numbered steps
6sections

To find one function, Claude often searches your code as plain text and then opens several candidate files to check each match. Every file it opens adds to your context and your limit. A code intelligence plugin connects Claude to a language server, so it can look up the definition by symbol in one step.

Step 1: install the language server for your language

The plugin does not include the language server, so install the binary first and make sure it is on the PATH of the shell you start claude from.

LanguagePluginLanguage server binary
TypeScript and JavaScripttypescript-lsptypescript-language-server
Pythonpyright-lsppyright-langserver
Gogopls-lspgopls
Rustrust-analyzer-lsprust-analyzer
Javajdtls-lspjdtls
C and C++clangd-lspclangd
C#csharp-lspcsharp-ls
Rubyruby-lspruby-lsp
PHPphp-lspintelephense
Swiftswift-lspsourcekit-lsp
Kotlinkotlin-lspkotlin-lsp
Lualua-lsplua-language-server

For TypeScript the install command is: npm install -g typescript-language-server typescript

Keep reading

Free, for an email.

Unlocks 5 more sections, 1 copy-paste prompt, the document version, and every other guide on the site, for free. Enter your email once to keep reading.

45,000+ follow where these guides come from.No spam. Unsubscribe in one click.

Read next