IDE modes should have a shortcut that adds a comment-pipe to a code cell. In general, the IDE will have to know about comment syntax for a number of different languages, but I think it should be possible for us to do the right thing in RStudio, in the VS Code extension, and in emacs.
In general, we'd want to add a custom API entry point to our (future) LSP.
(cf. https://github.com/quarto-dev/quarto-cli/discussions/528)
IDE modes should have a shortcut that adds a comment-pipe to a code cell. In general, the IDE will have to know about comment syntax for a number of different languages, but I think it should be possible for us to do the right thing in RStudio, in the VS Code extension, and in emacs.
In general, we'd want to add a custom API entry point to our (future) LSP.