kitamstudios / rust-analyzer.vs

Rust language support for Visual Studio 2022
https://marketplace.visualstudio.com/items?itemName=kitamstudios.RustAnalyzer
Other
147 stars 11 forks source link

Colorize Preview Tooltips Too #28

Open the-a-man-006 opened 1 year ago

the-a-man-006 commented 1 year ago

Apply code colorization to the code items that show up in the preview tooltips that pop up upon hovering the cursor on code items. Also, optionally, copy the color scheme that VisualAssist uses (lots of yellows, golds, orange, and light-red and green (on comments, iirc), with no sharp contrast jumps from word to word; superior).

parthopdas commented 1 year ago

thanks. please can you paste images so i know what you are referring to.

please use https://www.screentogif.com/ to show the repro.

the-a-man-006 commented 1 year ago

vs_rust_coloring

parthopdas commented 1 year ago

yeah this will be very nice. please can you file a bug on visual studio to support color tooltips for RLS extensions? they do not have that yet hence you see the b/w tooltip. the tooltip and its data are exchanged directly between RLS and VS, r-a.vs doesn't get to handle them.

same scenario on vscode looks pretty for sure image

parthopdas commented 10 months ago

Will require a shim layer between r-a.vs & ra.