@chris_ai_systems: Claude Code is using grep for code search by default. that means it's scanning your files like it's 2005. there's a setting that switches it to LSP — the same code intelligence your IDE uses. grep takes 5-6 seconds and still pulls wrong matches. LSP returns the exact definition in 50ms. setup takes 2 minutes, 4 steps, and you're done burning tokens on searches that should be instant. #claudecode #ai #coding #lsp #devtools #aicoding #programming #developer
No…. They are for different things lsp is much faster for definitions in functions and types you are using but grep is used for finding needle in a haystack. There’s also vector searches and semantic searches that it uses so the ai can find meaning rather than exact text searches.
2026-03-12 05:19:03
20
Jim :
This only if you’re using vs code
2026-03-12 21:41:43
0
Blake :
i constantly need to sort though masive dumps from java apps, would this mess up the parsing from those dumps?
2026-03-12 19:28:41
1
AustinDeltoids :
Easier to add it just by saying “enable the LSP tool in the env block =1 and install the Xcode / swift language servers”
2026-03-24 17:07:07
2
cheferikh :
Incorrect. Different use case. And grep is not slow when compound commands are constructed properly
2026-03-12 10:55:04
4
ABetterWay :
Use the codebase-memory-mcp on GitHub its better than LSP
2026-03-13 18:49:58
6
S6yx :
incorrect
2026-03-12 06:56:08
0
Charles J Dove :
Thanks for sharing bro
2026-03-12 01:02:50
1
Avatar :
Have you tried colgrep?
2026-06-02 09:08:22
0
Nate H885 :
Would be great if Claude knew wtf it was looking for in the first place…
2026-03-12 03:12:17
2
roland myerson :
yeah grep is brutal for large repos, lsp tool is way faster once you enable it
2026-04-29 18:46:16
0
kcdwayne :
Finance Bros, Crypto Bros, now Claude Bros? 😫
2026-04-24 14:22:50
0
Minky Little :
Claude doesn’t read the entire file when it uses grep to find a string segment. The operating system does.
2026-03-12 03:25:48
0
Himanshu Batra | Divine Delulu :
Aah! this is exactly what i needed
2026-03-12 06:06:16
2
AI Responses :
nice! thank you! my cc is a grep monster! 😂
2026-03-13 03:03:09
2
getklarted :
Nice tip ✨
2026-03-16 21:23:37
1
TfouOuKoi? :
Try codegraph 😉
2026-04-14 00:49:20
0
Roman in China :
It will work for Antigravity?
2026-03-23 01:19:57
0
James Zinkovitch :
Why not use Serena MCP which has LSP automatic symbol indexing
2026-03-18 22:20:17
0
Abdelhadi 🌍 :
use mksglu context-mcp
2026-03-23 14:09:33
0
lukoilik :
Только что проверил lsp точнее grep быстрее,, lsp-меньше расход токенов
2026-04-07 21:15:32
0
Christian :
yeah, I tried this and it keeps saying it's not working. intellij does this by default
2026-06-08 18:32:54
0
Strata Noble LLC :
Claude says this does absolutely nothing and figured out it came from a post on social media 😎
2026-03-30 04:32:04
0
zerocool247 :
is the serena lsp better than the typescripts lsp
2026-03-16 20:53:31
0
To see more videos from user @chris_ai_systems, please go to the Tikwm
homepage.