microsoft / VS-ColorThemes

Visual Studio Extension that installs additional color themes
https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.ColorThemesforVisualStudio
MIT License
334 stars 89 forks source link

Cursor (insertion point) invisible #76

Closed Voxellence closed 5 years ago

Voxellence commented 5 years ago

I like the Mariana theme's dark background and pastel colors. I want to change the blinking cursor (insertion point) colors, as the problem I'm experiencing is that the cursor color is black and invisible on the black background (I cannot see it blinking).

The cursor looks fine when I disable the VsVim extension for Visual Studio, but I rely on VsVim quite heavily for editing. I may also file an issue report at the VsVim site, but I'm asking about this here first on the premise that I know VsVim works fine with Visual Studio's built-in Dark theme. So I'm wondering what I can change about the Mariana theme to make it likewise work with VsVim. Offhand, I can't imagine what the difference would be between the built-in Dark theme and the custom Mariana theme that would account for the disappearing cursor.

I've made a copy of the Mariana theme and have it open in the Color Theme Editor for Visual Studio 2019. I have clicked the "Show All Elements" button on the Editor toolbar. I then clicked in the Search box and typed in the word "cursor", but found that there are no properties which match. Therefore, I am at a total loss as to how to deal with this issue.

Thanks in advance for any help.

Voxellence commented 5 years ago

Okay, so I discovered that I should've been searching for "caret", not "cursor".

I filtered by "caret" and then modified the following properties to have these values: Text Editor -> VsVim Block Caret -> Background = FFFFFFFF Text Editor -> VsVim Block Caret -> Foreground = FF000000 This amounts to just reversing the black and white values.

This took care of the issue for both Normal and Insert modes of VsVim.