Is it possible to highlight the currently selected group/object/list in vs code?
As you can see there is a "basic highlighting" the grey vertical line highlight. But I would like to use a (just a bit) lighter dark grey as background colour for all affected lines. Instead of just a simple grey vertical line.
Only for YAML files though.
Well the indent guide below selector is already highlighted to show its children.
You can try this extension which highlights other items on the same indentation depth.
Related
As you can see here there are no indent dots on my vscode although I have turned on render white space
Could it be one of my extensions messing with it?
Can someone help me turn on the dots that shows indentation like in the 3rd image?
You must add "editor.renderWhitespace": "all" parameter in your vscode settings.json file.
In this image the white background of the collapsed try block is the setting:
"workbench.colorCustomizations": { "editor.foldBackground": "#ffffff" }
But, what I can't find anywhere or guess at correctly is how to change the color of the little red arrow inbetween lines 6 and 7? This is where there are uncommitted changes that you can view/revert, like the last two images. I just don't want red because that is my error highlight color and I'm revamping a huge project to pull all PPI out and it is starting to drive me crazy looking like there are thousands of errors when it is just uncommitted code.
Try this colorCustomization:
editorGutter.deletedBackground Editor gutter background color for lines that are deleted.
from the end of https://code.visualstudio.com/api/references/theme-color#editor-colors
There are also these:
editorGutter.modifiedBackground: Editor gutter background color for lines that are modified.
editorGutter.addedBackground: Editor gutter background color for lines that are added.```
By default the gutter and the code editor have white backgrounds and you can't tell that there is no space between the two. In my color scheme the gutter is gray (trying to match IntelliJ-based IDE) and as you can see the first column of the code is basically touching the guter.
What I am trying to do is to add some kind of space in between or some left-padding to the code editor.
Any advise or guidance would be greatly appreciated!
This is what it looks like:
This is what I am trying to achieve:
Netbeans 8 by default shows indent guide lines (light gray dotted vertical lines). How can I turn that feature off?
This can be turned off in menu: View > Show Indent Guide Lines. More about configuring the indent lines in the release notes.
Release Notes
The Guide Lines are dotted lines drawn every tab size before a character on the line. They are shown by default. You can turn off feature in menu View-Show Indent Guide Lines. To change line's color go to Options-Font&Colors-Highlighting-Indent Guide Lines.
i went to tools, options, editor, unchecked "use all language settings" then adjusted right margin to 200 and its off the screen, hope it helps
Usually I'd like to edit files with Spaces only.
But when I open files with Tabs, I'd like to see them (for example as arrows ->). With such files I do my edits careful, so not to destroy the original authors coding style -- usually I insert tabs by hand when needed.
So, I want to see Tabs all the time, but using the General, Editors, Text Editors, Show Whitespace Characters option, I get distracted by all the whitespace-dots.
How can I reduce this distraction by Spaces, but at the same time see the Tabs?
Can I change the font color for the visualized whitespaces to a brighter color? currently they are medium gray, but I can not find an option to change that.
Or can I choose different setting for Tabs and for Spaces (and Paragraph signs, for that matter)?
The way I used to have it in my goo' ol' editor would be: Change the background color of Tab to light-yellow (without display the -> for tabs or the dots for Spaces). This makes Tabs wuite visible, without harming my "normal" source visualization. This would be my favorite. I did that by adding the Tab to be a keyword in all languages, and then change the keyword background color to a bright yellow.
According to the Eclipse 3.7M3 New and noteworthy you can customize the Show Whitespace Characters to show only tabs but not spaces.
Unfortunately the stable version of Eclipse 3.7 is expected in 2011 summer but if that feature is a 'must' for you you can try that milestone.