Marco Roth @marcoroth.dev · Mar 5

I got to work on another thing that has been bothering me for a long time: toggling comments in HTML+ERB files. Sadly the Language Server Protocol doesn't support this with a dedicated request, but you can implement it using a custom request plus a small config in the editor.

23 likes 5 replies

?

Replies

Kasper Timm Hansen · Mar 6

Nice! I tend to insert a `if false &&` to prevent the inner markup from showing up in the output.

Travis · Mar 6

I never thought I’d see the day. 🥺 Do you know it would take to land in Zed?

Rachael Wright-Munn · Mar 6

I can't wait for the next release so I can try it out!! ✨

Marco Roth · Mar 5

At least for VS Code we can pre-configure it out of the box in the VS Code extension! github.com/marcoroth/he...

Hebble · Mar 6

You truly are a hero