Change background color of function tool-tip in notepad++ - themes

I have already gone through following but that's not the issue here.
How to change background color in the Notepad++ text editor?
I am programming in python using notepad++ and applied Deep Black theme in which have a black background and white text color.
While typing a function it shows function syntax in a tool-tip having white background which contrasts with black background of notepad.
I have already searched in Style Configurator but no luck.
How can I change tool-tip's background color ?

Notepad++ uses Scintilla as its editor component. The calltip feature comes directly from scintilla. For scintilla features having no direct configuration options in the gui of Notepad++ (calltip style seems to be such a feature), you need a method to send messages to Scintilla.
One way to do that (and the only one I know of other than programming a plugin) is the use of NppExec plugin. It provides a SCI_SENDMSG command. The scintilla website provides detailed documentation about every possible message. For your use case it says this:
Call tips are small windows displaying the arguments to a function and are displayed after the user has typed the name of the function. They normally display characters using the font facename, size and character set defined by STYLE_DEFAULT. You can choose to use STYLE_CALLTIP to define the facename, size, foreground and background colours and character set with SCI_CALLTIPUSESTYLE. This also enables support for Tab characters. There is some interaction between call tips and autocompletion lists in that showing a call tip cancels any active autocompletion list, and vice versa.
Thus we need to send the SCI_CALLTIPUSESTYLE message and (continue reading on the website) we can configure foreground and background color with SCI_CALLTIPSETBACK and SCI_CALLTIPSETFORE.
So to set the color of the calltip by sending messages to the Scintilla editor component using NppExec, you need do this:
install NppExec with the PluginManager or from PluginCentral. The NppExec zip file contains the dll and some subdirectories. When installing/upgrading into Notepad++ plugin directory, take care that the subdirectories NppExec is created under the plugins directory (just unzip the file into the plugins directory). The NppExec directory contains the file Scintilla.hwhich has all the definitions for the possible messages.
store these lines as a NppExec script (Plugins -> NppExec -> Execute... , enter the following lines and select save, e.g. as SetCallTipStlye):
// use CALLTIPSTYLE instead DEFAULT
SCI_SENDMSG SCI_CALLTIPUSESTYLE 0
// background to black ( 0 )
SCI_SENDMSG SCI_CALLTIPSETBACK 0
// foreground to white ( 0xffffff )
SCI_SENDMSG SCI_CALLTIPSETFORE 0xffffff
execute the script with OK
Now your calltip Window should be white on black, you might want to adopt the colors by changing the arguments.
If everything works as you expect, then Plugins -> NppExec -> Advanced Options offers the option Execute this script when Notepad++ starts on the upper right area of the config dialog. Select the script name under
which you saved the line (e.g. SetCallTipStlye)
Alas, I have not been able to find out how to configure the autocompletion style. I hoped it would use the same style as the calltip style, but autocompletion stays black on white.

Related

WIndows "start cmd" driving me crazy (setting colors)

I have searched high and low for the answer to this, to no avail.
I am on Windows 10.
I have a batch script to launch a bunch of command windows using "start cmd".
When I do that, it is not picking up the text color I have set.
I know how this is "shortcut dependent", and I have tried every way I can
using Properties and Defaults, without success.
It seems I can set MOST of the properties to my liking (Font, Layout), but
not the Text Color.
If I open the window from the Start menu (or Run command), I get my white text.
But if I used "start cmd" it is using different Properties (which I also tried to set)
and text color is some teal/blue color.
However: when I look at the properties for that window, and click text color,
the white box at the far right is highlighted, and when I click it, it shows
(255,255,255) - but that's not what it's using!!
How do I get it do what I want? [without using any 3rd-party apps, if possible]

Changing CLion's background color

I'd like to change the general background color of CLion (that is, outside of where you write code), but I have been unable to find a solution neither in the IDE itself nor online.
However, changing these colors should be possible, as switching the color theme does change them.
Here is an image of what I mean, I've marked the respective areas I would like to change the color of with a bright pink circled x:
Any help on where I could find these settings would be much appreciated.
EDIT: I already know where to change Fonts, text colors and the like, but I am looking specifically for the marked areas, changes for which do not appear under any of the Color Scheme Options.
You cannot customize the colors of the main interface except for choosing the Default and Darcula themes in Appearance and Behavior - Appearance. What your and the other answer's screenshot shows are the EDITOR color scheme settings.
You can set a background image for the whole IDE in general in that settings tab, though. Make it completely opaque, the color you like, and that might do it.
To configure colors and fonts
Press Ctrl+Alt+S or choose File | Settings (for Windows and Linux) or CLion | Preferences (for macOS) from the main menu, and then go to Editor | Font.
Select the desired scheme from the Scheme name drop-down list.
Under the Color Scheme node, define the font families used in the editor and in the console. When you open the Font page, or Console Fonts under the Color Scheme node, CLion displays the Editor Font area where you can configure the primary and secondary fonts, their size and line spacing.
Under the Color Scheme node, open the corresponding pages to configure specific color preferences for the supported languages and CLion components.
To navigate to the relevant Colors & Fonts settings for the symbol at the caret
Call Help | Find Action from the main menu (or press Ctrl+Shift+A) and choose Jump to Colors and Fonts:
Explore the relevant section of the Colors & Fonts settings for the symbol under the caret:
If you want to know more about configurations : Configuring Colors and Fonts

Cmder all text same colour

Im using cmder windows terminal but I but all the text is the same colour regardless of command, or output etc. Can it be different colours to make it easier to read? IE
I can change the theme in settings etc but think im in the wrong place.
You were on the right track...
On that screen (Settings > Features > Colors), there will be a dropdown for Text like so:
Select the option that best suits your needs for legibility.

How to change terminal font color in PyCharm?

I want to set my terminal color scheme, such that I will have black text on light background (white or light yellow for example).
I changed "Console Colors" settings, such as Background, Standard output, and System output, under Editor > Colors & Fonts > Console Colors, but I keep running into the same problem.
If I change Background color to let's say white. It also changes text (Standard output and my user input to the same color). I can't figure out, which setting controls the color of the font, which appears in the terminal window. In fact, it appears that font color is the same as background color, which is confusing to me. I would expect to be able to independently control background color, and font color, which to me represents "Foreground".
<
Changing colour in
Preferences->Editor->Color Scheme->Console Colors->Standard Output
should change the terminal font's colour.
I suppose it happened on Windows. If yes then it is affected/controlled by Windows registry. Try one of the following method:
Open Windows cmd and from drop down menu selects defaults. Then change the Text and Background colors to match your choice in PyCharm. The problem occurs if you have different color settings in Windows cmd instead of default.
Delete HKEY_CURRENT_USER\Console key from Windows registry.
More information available on this link
To configure color and font scheme for consoles
Make sure you are working with an editable scheme.
Open the IDE Settings, and under Colors&Fonts, scroll through the list of components, and select the ones related to consoles:
Console Colors
Console Fonts
In the right-hand pane, click the desired component in the list, and change color settings and font type:
See Image of how to do it

What's the name of the bar below the Property grid in VS?

I'm using the Visual Studio Color Theme Editor extension to help darken up VS2010, found a nice theme that I like however I've got one big problem with it.
On the Property sheet, at the bottom where it says the name of the property and a sort description this theme I'm using is impossible to read; Black on a dark grey background. Unfortunately, I don't know what this specific segment of the Property window is called to change it.
You can not change the text color with the extension.
To figure that out, copy FFFFFF, select all line in the theme editor configuration pane (with Shift), press Ctrl+V (yes, you can do that, pretty neat !) and hit apply : everything that can be themed will then appear white. The text however, will stay black.
You can hopefully change the background color : It's called ToolWindowBackground. It will affect all tool windows of course. There's no specific item for this window in particular.

Resources