Highlighting makes code unreadable when searching with VsVim - visual-studio-2012

I've been using VsVim for a while and I have been pretty happy with it. However, the one thing that has been annoying me is the highlighting of text when I do any kind of search in VsVim such using * or the standard search with /.
I've spent hours trying to change the fonts and colors in the Visual Studios options menu, but I haven't found a way to change the color scheme. Below is a picture with the highlight text. Any help on this matter would greatly improve my productivity.

Unfortunately there is a bug in the handling of fonts / colors in Visual Studio that makes it impossible to change the highlight color in VsVim through the standard Fonts and Colors options page. The most recent version of VsVim (1.7.0) added a custom color menu to its option page which allows for this, and a few other, colors to be changed
Just go to Tools -> Options -> VsVim

Related

Android Studio where is color picker for Flutter plugin

In Android Studio, we have color picker when developing in Java/Kotlin (natively) like this.
But while developing for Flutter, I can't see any options to pick my own color. Is there some plugin required to do that?
The color picker is not clickable in Android Studio running Flutter( Dart code), see picture below. But i found a work around using the Color class and manually opening color picker. Then pick a color and copy/paste it like this:
Here is how i do it:
1. Double tap shift to run search
2. Type Color or Picker
3. Open Color Picker from the search list
4. Copy/paste the HEX color code into your color class.
Expert tip:
Add color picker to a keyboard shortcut. You can find the settings for Keymap, under File > Settings > Keymap
You must have heard of the materials.io website from google, which provides many materials like designs, icons, tools, resources and components for easy developing. Now Color Tool is also available. You must add the website to your browsers shortcut if you are a developer. Here's the link for chosing color : https://www.material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=E91E63
Another way I found is :
Type 'Colors.' and press control+space to see the available colors.
Select the color using arrow or mouse.
Press control+Q for the quick documentation.
And on the documentation windows, click on the edit button which opens the
'colors.dart' file.
Here all the colors with all shades are available. These shortcuts are for windows.
Once you open the file, you can always come back here to chose the next shade. But will not be the comfortable method like android project.
Hope a easier way to do this will come with the later update.

Remove colored lines on XML edditor

I don't know why but the empty lines on the xml editor of android studio are colored dark green, could you please tell me how to remove this feature?
Also, there is black square box on the start of the line 88 (see photo), could you please tell me what it is?
Thank you very much in advance..![Colored Lines]
Ok, I've found how to disable it. Preferences -> Editor -> Color & Fonts search for Injected language fragment and uncheck background.
edit: I have found another question similar with this one: The exact answer was: The green lines show areas interpreted by IDE as different language injection.
In those areas you end up with different code completion rules etc.
So assuming you used the language injections by mistake, clicking the lightbulb and choosing "Un-inject Language/Reference" removes those areas.
It's quicker than going through the settings and prevents any inconsistent highlighting and code completion when editing the file later.

How to get rid of background color of Android Studio comments in dark theme?

I've installed Android Studio 2.1 and switched to the dark theme. How do I get rid of this background color? I can't seem to find it anywhere. I've changed all the background colors of comments but I can't seem to get rid of this:
The Created by Can... comment has a background like it's selected (of course it's not selected) and it's really disturbing my attention.
That background is actually warning highlight from code inspection. You can disable it by going to Settings -> Editor -> Inspections, where you can search for Default File Template Usage and uncheck it (screenshot for help).

How to get uniform color on selected text in Visual Studio 2012?

I change the Selected Text color which only allows you to change the background color but when I select some text, I notice the color is definitely not uniform all across. The selected text's background color looks different for a keyword vs an identifier.
Here is how it looks:
Is there a way to fix this?
It seems that Visual Studio 2012 doesn't like non-default fonts. Probably a bug in VS2012. Press the use Default fonts to solve the problem, so far that's the only solution I know.

Visual Studio 2012 css color picker missing

I seem to be missing Visual Studio 2012's color picker feature in the css editor. It only shows a drop down menu.
I've tried changing the color picker option in preferences. Also tried resetting settings.
Any ideas will be much appreciated.
Thanks
Type # after the property:
color:#
With Resharper installed, I need to click Ctrl J.
That gives you the first bit of the drop down (some swatches). You then click the double arrow pointing down to get the color picker proper.
Are you typing the pound "#" sign? That's what triggers the nice color picker.
(eg, "color:#" when you press "#" you get the picker, otherwise you just get crappy dropdown).
Do you have any extensions installed? ReSharper in particular? I was experiencing the same problem, and thought that ReSharper might've been the cause. Uninstalled it, and now I have the CSS color picker as advertised. If you don't have ReSharper installed, it may be caused by another extension.

Resources