vscode-elixir-ls icon indicating copy to clipboard operation
vscode-elixir-ls copied to clipboard

Question: How to make all module attributes with heredoc be listed as comments.

Open lud opened this issue 5 months ago • 0 comments

This is kind of an X/Y problem, but 99% of heredocs I write in attributes are markdown and vscode lets me hard wrap them (thanks to the rewrap extension I guess). And it's very useful.

Of course this is the default for @doc and @moduledoc but we have a bunch of other attributes that also contain markdown most of the time.

I would like that for all the attributes. I saw in https://github.com/elixir-lsp/vscode-elixir-ls/issues/315 that there is some grammar I can inject but I'm not really sure how to do that. Could you give me some pointers about that or about what file I should patch?

Thank you!

lud avatar Jun 13 '25 22:06 lud