Is there a way to make XCode's "Show Invisibles" any less typographically eyeball-assaulting? - xcode

I mean, it appears to offer control over this -- but (at least as per my personal, fairly exhaustive investigation) it's Potemkin UX:
... the "Invisibles" color field doesn't actually affect the invisibles (which is that a joke? Like it controls the color of something else which is actually invisible??); the color field that does will not do so without simultaneously lending the tint you ascribe to it to the entirety of the rest of the documents' unhighlighted text.
I'm patient and flexible enough to either deal a text editors' quirks and I am nerdy enough to hack through said quirks when my patience and flexibility are depleted -- I have a haunted museum of 1990s-era elisp snippets and X configuration dotfiles that speak to this -- but I find these dysfunctionally Klein-bottlesque options flummoxing. Can you help me?

It's working now. You can set a lighter color for Invisibles color for light theme.
In my Xcode 11, I can set Invisibles color from Preferences -> Fonts & Colors -> Source Editor. There are some configurable items.
The code looks perfect now.

Related

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

Emphasis active panel in sublime text 3?

I use a touch pad with "doubke-tap to click" (which often fails). I'ld like to be able to style sublime text 3 to emphasise the active panel.
The selection opacity of the inactive panels does drop ~10%, but I couldn't find a colour in my theme to control this. So possibly the opacity is done programatically?
Any help would be appreciated :)
Inside Color Scheme there are files with tmTheme extension for every theme. In those files you can change (or add) the properties that controls inactive selection and active selection colors.
I think you are looking for the inactiveSelectionForeground key. As a good example you can look at the Monokai Bright theme that has many properties that other themes doesn't seems to use.

Trouble identifying colors for Intellisense tool tips and mouseovers in Visual Studio 2013

I've installed the color theme customization plug-in for Visual Studio 2013, and am having difficulty identifying and changing the background and foreground colors for Intellisense areas displayed on mouse-over events.
A screen shot is below showing the two areas that I'm struggling with. The top shows the helper dialog which appears when I delete and re-add the opening parentheses next at the line showing "#Html.PropertyFor(". Either I need to adjust the foreground color for the very light grey text, or change the background to something darker than the off white.
The second picture shows a typical Intellisense box. But the contrast on that is too low, so I need to either make the foreground text lighter, or the background box lighter.
After searching in the theme editor for quite some time, I'm unable to isolate these settings. I also inspected several settings under Tools > Options > Environment > Fonts and Colors, but was unable to identify these specific foreground/background combinations in the intellisense tool tips. I need assistance fixing both of these areas. Thanks for your help.
=== Edit 12/2/2014 at 4:33 PM ===
I found part of the solution. To make the text lighter, select Tools > Options > Environment > Fonts and Colors. Then toggle the Show Settings For list to "Editor Tooltip". You can change the "Plain Text" foreground color. But the background color cannot be edited. So I changed the foreground to white. This helped with case 2 shown above.
But with case 1, where there is a highlighted line for the available method overloads, that text still has a white background. I still need a solution for that. How can I make that white background dark? Thanks.
=== Edit 7/24/2015 8:00 AM Central ===
Joe, thanks for your suggestion. Yes, I have Productivity Power Tools installed. After turning "Colorized Parameter Help" off, the hint shown in the first graphic above went completely white. Probably that's because I have the foreground color set to White (ala Tools > Options > Environment > Fonts and Colors). Here is an example.
So I turned "Colorized Parameter Help" back on, and this is what it looks like for me right now.
This is at least legible, though the colorization is gone. I still don't know how to make that white background dark in that specific dialog. Since I can at least read the text with the workaround, this is a low priority item. What I imagine is that the ability to tweak that setting just doesn't exist within the color theme customization plug-in.
Do you have the Productivity Power Tools add-in installed? If so, either remove it or set Colorized Parameter Help to off under Tools > Options > Productivity Power Tools.

Highlighted Text background and foreground - How to change?

Here is my scenario. I like my color scheme. I have a dark blue background with light grey text. I have the Plain Text option in VS 2010 in Tools | Options | Environment | Fonts and Colors set to be a dark grey for the foreground and dark blue for the background:
alt text http://www.elbalazo.net/post/vs_plaintext_color.jpg
But I need to fix this major problem/annoyance which is when I highlight some text and then lost focus with my mouse it turns almost completely white!
alt text http://www.elbalazo.net/post/WhiteBackgroundVS2.jpg
And worse, when I mouse over the little section lines of code on the left, the selection of the entire editor goes white with a light grey foreground for text:
alt text http://www.elbalazo.net/post/WhiteBackgoundVS.jpg
Not able to figure out where and how to fix this. I don't see a way. Note: I'm using R# 5.0+ so I don't know if that has anything to do with this color issue or what...maybe it's overriding some VS stuff or this is just a VS issue I don't know..probably just not looking in the right area under Fonts and colors...but a lot of the item foreground elements are read only.
UPDATED:
I think it might be (not sure) this one but I can't test it as the foreground is locked and not editable:
alt text http://www.elbalazo.net/post/vs_brachmatching_color.jpg
I'm pretty sure your first problem can be solved by setting the colors on the 'Highlighted Reference' option in the Fonts and Colors window. If ReSharper is override this setting I couldn't tell you. I don't have it installed on this machine. As for your second problem I have no idea.
If you get too irritated at trying to figure out the color options you could also try Studio Styles for pre-made ones. I believe that is where I got the one I use currently.
I believe the setting you are looking for is "Inactive Selected Text". Found while trying to figure out why my selected search texts were not highlighted in an obvious manner.
Might be a year late... answering for future searches.
ReSharper is indeed overriding some of your settings, but those settings can be found in the same screen, towards the bottom of the listbox.
In Tools | Options | Environment | Fonts and Colors, scroll to the bottom of the 'Display Items:' listbox, and you should see a series of settings that start with ReSharper. For instance, the 'ReSharper Current Line Highlight` was causing me issues when I changed my theme to use a dark background.
Hope that helps.
The highlight for matching references is the "Highlighted Reference" background color (as Sean Copenhaver pointed out).
The highlight for the outlining region hover is "Collapsed Region" (as Brandon Satrom pointed out in his comment on the original question). The foreground color is the color used in the outlining margin and the background color is the color used under the text. You can also disable that highlight by disabling Tools->Options->Environment->General->Enable rich client visual experience, though that will disable other things (animations, gradients, etc.)
The brace matching rectangle is the highlight that appears when you insert or put the caret on a brace (e.g. ")", "]", "}"). It only lets you override the background color because you can't use it to change the foreground (text) color.
I had this same problem (much later) with VS 2010 and R# 7.1.
Disable the "Highlight current line" option in ReSharper > Options > Environment > Editor.
That option, when enabled, causes the VS 2010 color options for Highlighted Reference to not apply.
FWIW I had this problem without ReSharper and in my case tracked it down to the Brace Matching (Rectangle) color setting which looked nothing like what I was seeing in the editor but allowed me to fix the issue anyway.
So this is weird but I was having the same problem and it simply went away when I went to Tools->Options->Environment->Fonts and Colors and changed the font size to 18. I then went back in the same menu and changes it back to 10 (default) and the editor no longer highlights the collapsible regions white. Strange behavior.

How to change out-of-focus text selection color in Xcode?

Okay, I'll bite.
I've got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible.
When I am doing a project search and iterating through the results, however, the results list stays in focus and the found text remains out of focus, using a different background color. This color is extremely hard to detect, especially when the text is embedded in a larger code block and the view is shifting around as it scrolls to the results.
Here's an example:
Left side is in focus (just normal selection), right side is out of focus (during project find)
Often it takes a few seconds to find where the heck the selected text is.
Unless I'm just missing it, Xcode seems to offer no way to change this particular selection color. Interestingly, it also doesn't seem to follow the selection color from the Appearance panel.
Does anyone know a way to change this color or force it to be more visible, short of changing my entire color scheme around?
Use this Xcode plugin:
http://github.com/tjw/XcodeSelectionColorFix
Instructions for using it are here: http://github.com/tjw/XcodeSelectionColorFix/blob/master/README.markdown
You can manually edit the theme file, which might allow a different selection color. If I recall (not on my dev machine), personal themes are in ~/Library/Application Support/Xcode/(should be intuitive from here/can't remember)
You can edit them in Property List Editor, if I remember right. The Xcode preferences don't expose all of the options available in the theme file.

Resources