[bracketed references] in dartdocs are not highlighted as code in tooltips #1763
Labels
in editor
Relates to code editing or language features
in lsp/analysis server
Something to be fixed in the Dart analysis server
is bug
Milestone
I know that using bracketed names in your dartdoc documentation is a way to refer to symbols, correct? But the popup documentation produced by hovering on a symbol just naively displays them in the same font as the rest of the text, brackets and all. Shouldn't it at least say, format those names with a monospaced font as you typically want with symbols and maybe exclude the brackets or draw them in a lighter color? It's just a bit ugly right now. You can manually format text as code using backticks, but then you can't hover over the names in the dartdoc block to see their own documentation.
I see the formatting I'm looking for in the example cited in #1265 but the editor used there appears to be Android Studio, so this is a feature in that IDE. It would be nice to have it in vscode as well.
Example:
The text was updated successfully, but these errors were encountered: