vscode-scala-syntax
vscode-scala-syntax copied to clipboard
Syntax highlighting in code comments
I really like the idea of sbt-example, but also aside that it would be nice to have some (minimal) highlighting for code in comments.
/**
* Usage:
* {{{
* def x: String = toString(2)
* }}}
*/
def toString...
Do you think that would be useful to have?
That would be useful, same as with @ scaladoc variables.
While working on #277 I noticed that with metals all doc tags had the right highlighting, without metals some tags weren't highlighted. Does that means, that if we highlight doc variables or code in comments here in a project with metals that wouldn't change anything?
Hmm... We might have added it in semantic highlight at some point, but changing here is useful as it's also the syntax highlight on github itself. And semantic highlight might not always work.