catppuccin / visual-studio

:ocean: Soothing pastel themes for Visual Studio
https://marketplace.visualstudio.com/items?itemName=Catppuccin.CatppuccinVS
MIT License
75 stars 8 forks source link

ReSharper C++ Support #35

Open AmitGolden opened 11 months ago

AmitGolden commented 11 months ago

Hi!

I'm using VS with Resharper, and I really like this theme but it does not play well with it.

Could resharper support be added?

djflan commented 11 months ago

@AmitGolden I've used ReSharper when developing this theme since day 1 with zero problems. Can you be more specific? what about you resharper installation seems to be causing issues?

screenshots will aid in dx.

Thanks

AmitGolden commented 11 months ago

Thanks for your helping! I just tried using the theme with and without resharper. Without it looked great but when I enabled it it just became awful - really dark and ugly colors. Sadly I can't send screenshots.

Is there more setup that needs to be done?

I'm using VS and resharper 2022

djflan commented 11 months ago

no setup that needs to be done.

My only guess here is that you have other extensions contributing to the color scheme. Is ReSharper the only extension you have installed?

AmitGolden commented 11 months ago

I have also WhereAmI, Enhanced Output and FormatOnSave (none of which contribute to the colors) It's worth noting that I use Resharper C++. Was able to get some exemples: Screenshot 2023-11-24 115528 Screenshot 2023-11-24 115624 Screenshot 2023-11-24 115642 Screenshot 2023-11-24 115701 I had these colors show up in my code. Seems like the extension didn't implement these Resharper C++ colors

djflan commented 11 months ago

no, just C#. Will need to add as a feature. I'll flag it. Might be a good one for someone else to tackle. I don't miss coding in C++.

Gn3po4g commented 2 months ago

I think we can just disable resharper's color identifier.

lefev commented 2 months ago

This fixed the ugly colors for me with c++ and resharper. image @Gn3po4g good workaround :) image Nevertheless, some of the highlights do still not seem to be correct.

lefev commented 2 months ago

image comparison: left: vs2019 + resharper right: vs code. If some one can show me how it is supposed to look like (colorwise) then I can try to change it

indesperate commented 1 week ago

image comparison: left: vs2019 + resharper right: vs code. If some one can show me how it is supposed to look like (colorwise) then I can try to change it

I encountered the same issue, but it seems you can manually set the colors that start with 'Reshaper C++' in Tools -> Environment -> Fonts and Colors (although the process is quite tedious). In theory, adding these configurations to the extension shouldn't be too difficult. I'm trying to replicate the VSCode cpp color scheme (not too challenging), but I'm totally new to Visual Studio extensions. I'll probably spend some time on it soon.