I am new to ZSH and I'm having a little bit of trouble changing up some colors from the Autocomplete function. When the list comes up and I'm using the arrows to move around the options from the Autocomplete, the selected element gets a different background.
I would like to just change the color of the selected element.
I have only installed ZSH and oh-my-zsh. I'm currently using the bira theme.
;)
In .zshrc:
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
Related
The Visual Studio editor highlights the current line by changing the background color of the current line. Is there a simple way to disable this highlighting? Otherwise, which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?
Is there a simple way to disable this highlighting?
Tools -> Options -> Text Editor, in the Display group, uncheck "Highlight current line"
Which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?
The colors are named "Highlight Current Line (Active)" and "Highlight Current Line (Inactive)"
To disable the border around the current line
In VS 2019
Go to : Environment -> Fonts and Colors:
Find the display item: Highlight Current Line
Set the item foreground color to: Automatic
In VS 2017 and earlier
Go to : Tools -> Options -> Text Editor:
Find the display items:
Highlight Current Line (Active)
Highlight Current Line (Inactive)
Set the item foreground color to: Automatic
if its visual code make
"editor.renderLineHighlight": "none"
The Visual Studio editor highlights the current line by changing the background color of the current line.
The only time I've seen this is when "Use Windows High Contrast settings" is enabled (Options > Environment > General)
With this setting disabled, I just get a subtle grey box to indicate the current line (this may depend on your Color Theme):
If you're using Resharper, it's:
Tools -> Options -> Text Editor:
ReSharper Current Line Highlight
press -> Ctrl + comma
Search => Render Line Highlight
select none from the options
In addition to the previous answer, I'd like to mention that Visual Assist (the tomato icon) also have an highlight current line feature, that can still be active while your Visual Studio highlight option is turned off.
This drove me crazy! Find it in Visual Assist Option panel, Display category.
So don't forget to also uncheck the VisualAssist highlight option.
edit
my settings:
Visual Assist option turned off
Visual Studio option turned on (in the Text Editors part)
In the font color settings, for Highlight current line (active and inactive), set the foreground to Automatic
Finally you can set your highlight color as you want with the background color.
Last point, sometimes Visual Studio mess things up even more, you may have to restart it, or close/open your tabs... sadly, YMMV.
For VsCode 2021 version users
Workspace > Text-Editor > Render Line Highlight > none
Visual assist and vsvim extensions were conflicting. So I disabled it within the visual assist options.
Uncheck the option: Highlighting->Highlight results of Quick Find and Find in Files.
For some reason "esc" doesn't work .
I avoid using the mouse for navigation as much as possible. Sometimes when I go back into VSCode via spotlight/raycast the focus will be on some element in the sidebar, or the terminal, or the vim cursor is just immediately obvious. Is there a way to enable some sort of obvious outline on the part of the UI that currently has focus so further navigation can be easier? I perused the settings but didn't see one that immediately stood out.
You can change the usual blue focus border (like you get with tabbing around the window elements) to another color, like red, with this setting in your settings.json:
"workbench.colorCustomizations": {
"focusBorder": "#ff0000"
}
For some elements like those that border on the window edge it doesn't help much. For others it helps.
For some reason in the text editor pane, all lines containing characters have a background color that differs from the normal text editor background (i.e. they appear like they've been selected/highlighted with the cursor). I've tried switching themes, but doesn't seem to be controlled by any that I've tried. At a loss as to what setting might be controlling this. Any tips appreciated.
With no lines selected (the problem)
With a line selected (how it should look normally)
Turns out this was caused by the SQLTools extension highlighting the code block. I uninstalled it for now, but it appears customizing the settings for that extension would also work.
press ctrl + shift + p
type “settings json”
click “Preferences: Open Settings (JSON)
edit file and leave only braces { }
Resetting might help.
I like to use a darker background but I cant find the setting to changer the highlighting. Every time I use it its like I'm finding waldo and it defeats the purpose.
Example: http://i.stack.imgur.com/pA0c9.png
I assume you are using the ISE? The command window just inverts the colours so anything other than medium grey is easy to find.
Anyway this is a really unfortunate feature of Windows, the highlight text isn't controlled by the ISE but by Personalisation settings. Go into Control Panel, Personalisation, Window Colour, then "Advanced Appearance Settings..." and you'll get the old options to change window colours.
The "Selected Items" setting will change the colour of highlighted text EVERYWHERE IN WINDOWS. So if you decide to go down this route you're going to need to pick a colour you can easily find on both your ISE and the standard black-on-white theme. I recommend a slightly lighter blue.
Is there a way (I'll settle for a hack) to make the code-folding gutter in Eclipse render with a black background? I'm clinging to TextMate as my main editor but would really like to go back to Eclipse for code completion, but I'm stuck with this ugly crap: http://gfx.notbrain.com/eclipse_code_fold_gutter.png
After you change the background color of the editor, disable then re-enable code folding and click apply this seems to fix the color problem however keeps that ugly white line separator.
I found a nice work around until this is fixed. First disable folding by default (preferences->C++->Editor->Folding) for new editors.
Then, whenever you open a new editor the folding 'column' wont be available. Now, open a new editor, Right-click on the far left of the text (the line numbers if they're enabled) and select 'enable folding' (or press Ctrl + /).
Then, anything that is to be folded by default will be folded and the folding +'s and -'s will be available on the dark background - no color glitches.
Gargh, doesn't look like it... this guy has the same issue:
http://blog.codefront.net/2006/09/28/vibrant-ink-textmate-theme-for-eclipse/
EDIT: Looks like this has been filed as a bug with Eclipse already, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194313