Details
Details
- Reviewers
kadircet - Commits
- rGc33873502003: [clangd] Enable folding ranges by default.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Whenever I tried this option in the past it crashed clangd.
I recommend doing some more testing before flipping the switch.
clang-tools-extra/clangd/tool/ClangdMain.cpp | ||
---|---|---|
340 | i think we should just retire the flag altogether, ATM this is only preventing clangdlspserver from announcing the capability. the only benefit of keeping it as a flag is, we can turn it off quickly if its crashing constantly. but we should fix those crashes instead. so do you mind:
|
Comment Actions
we've a new implementation of folding ranges based on pseudo parsing now. hence no more crashes 🎉
i think we should just retire the flag altogether, ATM this is only preventing clangdlspserver from announcing the capability.
the only benefit of keeping it as a flag is, we can turn it off quickly if its crashing constantly. but we should fix those crashes instead. so do you mind: