kitamstudios / rust-analyzer.vs

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

Type syntax coloring #17

Closed r1sc closed 1 year ago

r1sc commented 1 year ago

Primitive types are colored, but complex types such as Vec<> is not. Using default Visual Studio light template.

Visual Studio 2022: bild

Visual Studio Code: bild

parthopdas commented 1 year ago

it seems to work for me on the latest release - image

would you mind providing some more info:

  1. what version of the extension do you have? if not the latest, can you try the latest and let me know.
  2. does it appear after a 30 seconds or so (for large projects rls takes a while to get going)
  3. are there any "rust-analyzer" related errors in Output > rustanalyzer.vs window (this contains the realtime logging from the extension)
r1sc commented 1 year ago

Oh yeah it works with the CI build, ok you can ignore this then. I was using the version from here: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer.

Thanks for a great extension! :)

parthopdas commented 1 year ago

thank you, really great to hear : )

note that https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer is for VSCode not for VS2022

unless you are feeling adventurous also it is best you use the published builds instead of the CI Build

CI build only passes the automated tests while the published build also undergoes wide range of manual tests before being published.

parthopdas commented 1 year ago

and stay tuned for Test Explorer integration (running / debug unit tests) as well as Cross Platform rust build / debug using WSL2.

r1sc commented 1 year ago

I meant of course https://marketplace.visualstudio.com/items?itemName=kitamstudios.RustAnalyzer&ssr=false 😋 So the published build didn't have it as I understand it?

parthopdas commented 1 year ago

The published build definitely has it - my screenhsot is from the latest published build. If possible please use it and see if there are errors in the output window rust-analyzer.vs pane.