Fold All Block Commentsnever worked in VSCode using Lexical here
That’s the problem. So sorry I didn’t think to check. Language aware code-folding is only implemented right now in ElixirLS:
https://github.com/elixir-lsp/elixir-ls/pull/492
So you have to use ElixirLS as your LSP instead of Lexical to get the language aware folding.
Reminder: it’s generally the language server protocol (LSP) that implements features like code folding, not specific editors. That’s basically the point of LSPs: each editor just implements the protocol. That way communities don’t need to write a new language server per editor. So switching to Zed or Atom won’t fix your problem (unless of course that editor happens to implement its own LS for the language in question, but that’s not usually the case).






















