Change Text Highlight Color in Eclipse Console - linux

Question
Is it at all possible to change the color of the text highlight in Eclipse console to something more visible in Manjaro Linux? Your time and help are both much appreciated.
Important notes
I am using the default GTK theme. I do not want to use a different theme.
For testing, I have tried using a different theme, but that didn't help.
Problem
Currently, I am stuck with a barely visible light grey text selection in Eclipse console in the following two scenarios:
When manually selecting text
When using the Find\Replace... search function
Supporting screenshots
Manual mouse text selection:
Find/Replace... selection:
Looking into and changing these settings did not help:

I once ran into the same problem and used the gnome-color-chooser to resolve this issue.

You have to change property selected_bg_color value in your current GTK theme gtkrc file. I am using Ambiance theme.
So my setting are:
cat /usr/share/themes/Ambiance/gtk-2.0/gtkrc | more
gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#000000\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F
0\ntooltip_bg_color:#f5f5c5\nlink_color:#DD4814"
Also refer these post which helps you in future for similar kinds of problems.
Change Eclipse sidebar vertical scope highlighting
eclipse-on-ubuntu-fixing-the-black-background-color-in-hover

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.

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).

All rows are black in the Watch Window when debugging in VS2012

I just installed VS2012, and I noticed that the variables in the Watch Window have black background, and are thus unreadable (I assume the text is also black, so black on black = unreadable).
What causes this problem, and how can I fix it?
So far I've found some links - this, this and this link, all from connect.microsoft.com. I'll see if I can find any solutions there.
I found the answer from https://connect.microsoft.com/VisualStudio/feedback/details/760291/vs2012-with-dark-theme-prints-code-with-black-background.
From user Murali:
Can you try resetting the printer category in Fonts and Colors ? To do
this, you can go to Tools -> Options -> Environment -> Fonts and
Colors -> Choose the Printer Category (which is below the Text Editor
category) and then click on Use Defaults.
Do let us know if that solves the problem.
Thanks, Murali Murali Krishna Hosabettu Kamalesha | Program Manager |
Visual Studio Professional - Editor team
I did this, and indeed it fixed the problem for me.
The following answer solves the problem for me:
https://connect.microsoft.com/VisualStudio/feedback/details/763007/black-lines-in-watch-window
Go to Tools - Options - Environment - Fonts and Colors. Select Merge - Block selection box in the list of Display items and change Item background to White.
I'm using a customized theme, the other solution would cancel the theme I'm using.

How to change line numbers background in Dreamweaver CS5?

Does anybody have an idea how to get rid of line numbers blue background?
It's quite distracting :(
Maybe there is some extension for deeper customization of Dreamweaver (CS5) ?
Even here: Tom’s dark DW dark code colorization for Dreamweaver it's still blue.
Thanks!
I don't think there is a way to change it. The line number bar is a hardcoded object and none of the CSS files or XML files affect it.
Actually, there is a way to change it.
By affecting the basic operation system's settings for the active line highlight color it's possible to achieve this effect.
It probably works on all windows platforms:
for this demonstration I ll explain how to do it on win7.
1. right click on the screen
2. choose personalize
3. window color / advanced appearance settings
4. choose 'selected items' from the drop-down menu
5. modify 'color1' to the color u wish to use in DW.
and its all done. DW inherits the operating system's default/modified color settings.
cheers, Nel.

Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux

if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you
can change that via Display settings > Appearance > Advanced: ToolTip.
The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" {
GtkWidget::link-color = "#ffffff"
}
class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
Install gnome-color-chooser and customize the tooltip color as described here:
http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/
I'll chime in here, since I have the same issue.
There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).
The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.
On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.
On non-Windows, you are stuck with a dark-blue hardcoded color.
What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.
If you want to see it fixed, either upvode this bug or fix the code yourself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444
Sad, I know ):
Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.

Resources