Does anyone know whether it's possible to customize the background of a text after it has been suggested by IntelliSense? I'm using the Everblush theme.
As you can see in the GIF, after selecting the suggested "activityBar.activeBackground" option in the settings.json, I get this annoying white background between the two quotes. This also happens with brackets and with other programming languages (Rust for example).
Do you have any idea on how to change this?
Keep in mind that this happens only after I press the ENTER key on option given by IntelliSense. It has nothing to do with normal text highlighting.
Following rioV8 suggestion, I found out that the option for this particular case is editor.snippetTabstopHighlightBackground.
Related
In VS Code, when you are working with a markdown file with the "Markdown All in One" extension active, ctrl-B sets the selected text to bold by surrounding it with **
The problem is that I use the ctrl-B keyboard shortcut all the time to show/hide the side bar.
Is there any way to disable that emboldening shortcut (or define an alternative one) when working with Markdown files, and to use it for hiding the side bar?
edit: the problem was that I had the 'Markdown All in One' installed
I don't think this can currently be done without uninstalling / deactivating your "Markdown All in One" extension. If you look at the list of keybinding actions it offers (see those that start with markdown.extension.editor.toggle), there are ones for toggling code spans, blocks, math, lists, but none for toggling bold and italics, which I find strange. No dice either searching for suggestions in the keybindings.json with "markdown.extensionbold".
So either I'm missing something, or you need to make a feature-request on their GitHub. If you do, post a link in the comments here for posterity.
As a last resort to get a fix right now, you could just remap your toggle-side-bar keybinding to something else.
I've dug through every damn color setting under Tools> Options. Went through every Fonts & Color, Editor, PHP etc and I'll be damned if I can figure out how to change the background row highlighting for when you have an error. I've been able to change ever other color to fit my personal preference cept this one. Here's a screen shot of the problem:
I would like to change the background red to a dark red so the text is easier to ready.
Using Netbeans 7.4
Thank you for your time and consideration.
Edit: Per Ben's point, here's the current options and the code behind the panel to show it's not working:
Final update, here's the end result which is close enough:
By looking at your screenshots (correct me if I am wrong) I can see that you have set your current row highlighting to red:
Tools-> Options-> Fonts&Colors-> Highlighting(Tab)-> Highlight Caret Row
As far as I know you can't set different background highlighting options for errors. So what you can do is set the formatting options for errors:
Font: No need to explain this.
Foreground: This is the text color if you change this it will disregard all other formatting options that you may have set, so lets leave it as is.
Background: This is what you want to change so that text don't get lost in the formatting. If you scroll to the bottom you can also set custom colors.
Effects: Irrelevant
Effect Color: Disabled if effects is None and only applies to the effect.
As you can see I set mine to yellow just as an example.
As you can see in this screen shot my background highlighting is light grey as well as my string formatting. So it is impossible to read, but by changing the error formatting this is the result:
Alternatively you can just select another background highlighting color that suits your formatting better.
Try Fonts&Colors->Syntax->Error
You can also try setting the Annotations color for "Error", mine was set to a specific color (after importing a theme) instead of 'Inherited', making text unreadable in a similar way.
This was really annoying for me too and most answers didn't help. I think that I have figured it out.
In netbeans 12 you need to change two things.
Tools->Options->Fonts&Colors->Syntax->Java->Error->change background color. This will only change the background of the code in error and not the red background of the rest of the lines white space.
To fix the red on the whitespace.
Tools->Options->Fonts&Colors->Annotations->Error(the one with the exclamation point)->change background color
I selected inherited to have no whitespace highlighting.
enter image description here
So how would I go about customizing the welcome screen? I know about initial-buffer-choice, but I'd like to customize the original one as a part of theme (I'm working on a Tron theme, and wanted to have all bits of it perfect!).
I don't want to change the text, but I have an alternative design for the logo :) It's not really a replacement, and I'm not going to put a different logo instead, it's just a minor remake to go with the color theme.
EDIT: below is what I've got so far :)
And the larger image:
EDIT
Sorry for making you wait. Here we go: https://code.google.com/p/tron-theme-emacs/ If you find a language mode where the theme misbehaves, I will try to fix it. I think I tried it once on a text terminal, rather than X-window Emacs, but I don't remember how it was. So, that may be a problem. Also, some modes may come with their own faces. I tried to set some (like ECB), but these may not be complete / I'm not aware of all the possible faces. But, again, request for improvements are welcome.
To change splash image, set fancy-splash-image.
To change text and color, set fancy-startup-text and fancy-about-text.
The line that is highlighted on Eclipse is really hard for me to see. I am color blind, but I can see colors. I assume the the highlight color in the outline screen has very little contrast to the other colors. Thank you!
Anyway I will try and attach a graphic.... anyone know to change this?
I think I have something usable enough to post as an answer. You didn't specify the OS that you're using but from the screenshot it looked like Windows 7/Vista with the Aero theme. Like I mentioned in my comment to your question, from this and this, it looks like there isn't any [straightforward] way to change the highlight color.
However, if you don't mind losing the Aero effects, you can switch to the Windows Classic theme to get a different highlighting that IMO provides more contrast and better readability.
In other words, when you type for and hit ctrl+space, you can pick various template for loops. After selecting, it creates the code and lets you tab between various aspects of the code (such as which array you're looping over). I've switched to dark colors on Eclipse, but I can't find anywhere to change the highlight for these tab areas, so they show up with light backgrounds and my light foreground colors and are completely unreadable.
Is it possible to change these colors somewhere? If so, where?
It took me some time, but I found it.
Look under window>Preferences>General>Text Editors>Linked Mode
Then it is "Editable Range" you are looking for.
In preferences:
Result:
Since you didn't find a prefs setting by searching for "color", there probably is no way to do this. I suggest to open a bug at https://bugs.eclipse.org/bugs/