Change ReSharper's color scheme - resharper

Does anyone know how to change the ReSharper color scheme in VS2008 SP1?
I've looked around and all the posts out there on the internet pointed to dead-ends.
JetBrains at one point told users to change the colors inside VS (Tools | Options | Fonts and Colors | Text Editor) but I don't see any ReSharper items in there.

Reinstalling did not solve it for me. This is from ReSharper's support. Note: Run notepad as administrator.
http://resharper-support.jetbrains.com/entries/26859128-ReSharper-Fonts-Colors-settings-do-not-appear-in-Visual-Studio-after-installation
Problems:
ReSharper Fonts & Colors settings do not appear in Visual Studio
after installation;
Colors from Light Color Theme are used with a
Dark Color Theme;
Solution:
Close all Visual Studio instances;
Open C:\Program Files (x86)\Microsoft Visual Studio {VS version}\Common7\IDE\Extensions\extensions.configurationchanged file;
Type anything there;
Save the file;
Open VS and check Fonts and Colors in Tools | Options | Environment;

In VS|Tools|Options|Environment|Fonts and Colors, ensure the "Show settings for:" listbox is set to Text Editor and you will find the ReSharper items.

To change the font colors of identifiers, goto:
Resharper > options > code inspection > settting > checkbox
The color identifiers.

Thanks Colby! Re-Installing ReSharper took care of it.
For future reference, the complete scenario was:
I had a trial mode ReSharper installed, once the trial expired I purchased the license, I did not try to change the color scheme during the trial period, so I don't know if the options where there before.
After re-install I can go to Fonts and Colors and all the ReSharper options are there!

Related

Disable Highlighting of Strings in Visual Studio

All of my strings in visual studio are highlighted (see screenshot)
This makes it very difficult when i'm actually highlighting something or using the find functionality.
I cannot find an option for this anywhere, anyone know how to disable this?
This is Visual Studio Community 2017
Go to Tools > Options > Fonts and Colors. On the Display Items, find String and change the Item background color to whatever the color of your editor background is.

Visual Studio 2012 Dark Theme Issue

I've been using the Visual Studio's Dark Theme for a while now. But as of today it got messed up. I'm not sure what triggered it but I'm speculating that opening an MVC3 project corrupted something. Please see the current behavior below.
How do I get this fixed?
Edit:
The issue is that the "Item foreground" and "Item background" settings gets set to something OTHER than "Default".
The fix is to go to Tools > Options > Environment - Fonts and Colors and setting the said properties to "Default".
Well, I fiddled with the Tools > Options > Environment - Fonts and Colors options for a while and managed to restore order. I'm not sure what messed it up initially!
I have had a lot of issues with the dark theme in VS2012. In order to make it work again I go to Tools -> Options -> Visual Experience and switch it to a different theme and then apply the dark theme again.

Change TODO item color in Visual Studio 2012 with Resharper 8

After installing Resharper 8 on Visual Studio 2012 my TODOs are now a retina-searing blue of which this screenshot does not do justice:
I've found similar questions here and here they don't seem to apply to VS2012 and/or RS8, as there is no "Resharper Todo Item" nor any other Resharper items under the Display Items for Fonts & Colors.
Just to post a possible workaround if somebody has the same behavior - apply actions from the following article. It looks oddly but works.
Close all Visual Studio instances
Open C:\Program Files (x86)\Microsoft Visual Studio {VS
version}\Common7\IDE\Extensions\extensions.configurationchanged file
Type anything there
Save the file
Open VS and check Fonts and Colors in Tools | Options | Environment
Navigate to environment settings using Visual Studio (Tools -> Options -> Environment -> Fonts and Colors) and change the colour of the TODO items in the text editor. Scroll to the item in the "Display items" list which shows as "Resharper TODO item"
A Visual Studio crash and restart later, Resharper display items are suddenly showing up under fonts and colors. I contacted Jetbrains and apparently this was a verified bug, though that link is now dead which would lead me to believe that they fixed it, but for some reason this answer is still getting upvoted so maybe not.
Maybe the next upvoter can edit this answer or provide a comment with the current state of affairs?
This is not a Win 8.x issue; I am using Windows 7 and encountered the problem when I applied Resharper 8 to VS2013. The link that Alexander posted resolved the problem for me. I did, however, have to copy the file to My Documents, make my edit there (a simple hash symbol) and then copy it over the source location.
Adding an empty line in the file extensions.configurationchanged worked for me.
Visual studio 2013 with Resharper 10

How to change or add theme to Android Studio?

I have just installed Android Studio in my Window 7 64bit.
When I launch the application the background of the screen where we write the code is white.
I would prefer black or any other color.
I am not sure whether we can change the color/theme OR add more themes.
File->Settings->Editor->Colors & Fonts-> In scheme name select Darcula and apply to see a awesome dark background theme editor
Android Studio 3.1.2
File->Settings->Editor->Color Scheme-> In scheme name select Darcula and apply to see a awesome dark background theme editor
You can download new themes from https://github.com/sdvoynikov/color-themes -- note that the project is deprecated at this time, but the sources are still available.
Once you have downloaded the .jar file, go to File -> Import Settings... and choose the file downloaded.
//you need to go to the File-> settings
in that choose IDE settings-> Appearance in that choose the Theme: options
Windows
File->Settings->Editor->Colors & Fonts->
Mac OSX
Android Studio -> Preferences->Editor->Colors&Fonts
Dayle Reese has an amazing set of color schemes available for use in both AndroidStudio and Intellij. Depending on the IDE you are using, these ICLS files go into a particular directory (This is for Windows):
Android Studio
%USERPROFILE%/.AndroidStudio/config/colors
IntelliJ
%USERPROFILE%/.IntelliJIdea/config/colors
Once you've placed the ICLS files in one of the directories above, relaunch the IDE so that it picks up the new themes. There is also a nice page containing a preview of most/all the themes so you can figure out which ones you like most. Enjoy.
If one just need to change (strictly just) the editor's background to your own colour.
Preferences > Editor > Color & Fonts > General > Default Text > Background
Although you need to save it as your own theme.
Just a note for people in the future.
To add more themes on a Mac, put the theme .icls files in
~/Library/Preferences/AndroidStudio/colors/
Then restart Android Studio. And select your new themes in
Android Studio > Preferences > Editor > Colors&Fonts
Android Studio can use any theme that are made for jetbrains IDE. Here is a good Github repo that has many themes for different IDEs.
Also, the Color Ide plugin is a good tool that changes the background colour of all menus in Android Studio to match your theme. Try it, the IDE will look much better.
Windows should have similar setups, just the theme directory will be a bit different, search for JetBrains Ide theme location should give you the result.
Press Ctrl+` (Back Quote).
Then select "Switch Color Scheme" or press 1.
Select "Dracula" or press 2.
(Note: the exact paths shown here are primarily for Windows and Linux. I know Mac has a few non-standard paths, so if you're on Mac, you may have to adjust the starting bit of the path. The point is, get into settings however you'd do that on a Mac)
Switch theme:
File -> Settings-> Appearance & behavior -> Appearance.
Select the "theme" dropdown, and change between whatever themes you have installed. It shows the default themes and any you have installed in the form of plugins.
Install new themes
As plugin from plugins.jetbrains.com
File-> Settings -> plugins -> install JetBrains plugin/browse repositories/install plugin from disk
Note: newer versions of Android Studio, and possibly IntelliJ, (at least Jan. 2021 and out) may instead have a Marketplace tab in place of the first and/or second one.
The last part has three different options. The first has a few amount of plugins, and looks like only the official plugins. Browse repositories have much more plugins, and seems to be like going to the plugin page. This is a shorter way than going to the intelliJ plugin page and downloading the plugins manually. If you download, click install plugin from disk. This allows you to drag and drop, or find .jar files.
In the install JetBrains plugins, browse repositories, and (newer versions) Marketplace tabs should have a search functionality. You can search for i.e. "theme" from there.
Download a color theme you like - some sites host these, and some GitHub repos may offer them as well. [Editor's note: the website previously linked here has been replaced with spam]
Import the theme. File -> Import Settings. Navigate to the theme-name.jar. Click the "Ok" button. This will tell you restart your application, at least it did for me, and it automatically selected the theme for my editor.
Change the editor's theme color by going to File -> Settings -> Editor -> Colors & Fonts. Select the scheme and click the "Ok" button.
Note that this changes the editor's theme color, not the entire application's theme.
File->Settings->Appearance
There's a dropdown box with various themes.
Mac OS
To install new Theme on Mac go to Preferences -> Plugins -> Browse Repositories -> Select Category "UI" and search theme name, I recommend "Material Theme UI" click on the green button "Install" and then restart after installation.
If your theme is .icls format.
Right click on finder and select "go to folder"
type "~/Library/" to go to hidden library folder
find "Preferences"
find "AndroidStudio2.x"
if you don't have "colors" folder then create one
paste .icls theme files into colors.
new theme will be installed.
to change themes go to Preferences -> Editor -> Colors & Fonts and then select the scheme.
In 2.3.2 i can change the theme by following
View -> Quick Switch Theme -> 6.Look and Feel
Go to File > Settings,
now under IDE settings click on appearance and select the theme of your choice from the dropdown.
you can also install themes, they are the jar files
by
File > Import Settings, select the file or your choice and select ok
a pop up to restart the studio will open up click yes and studio will restart and your theme will be applied.
For additional themes I visited https://plugins.jetbrains.com/search?headline=164-theme&tags=Theme I was able to download one of them. I closed all my tabs opened and simply dragged and dropped the jar file. That was the way Android Studio prompted to restart. I tried importing the jar file as mentioned previously but it simply didn't work.
Thought I would add this as an answer, for anyone who accidentally mess up like I did!
It't not really an answer to the original question, but a few other posts refer to this post, so thought I would add it here (cause its slightly relevant to the question). Hope it helps someone!
Today I accidentally set my IDE font size on Android Studio very high (was going to set it to 10, but it accidentally became 110).
Now, the big issue for me was that opening the file menu was not possible (well, could open it, but could not get to the settings choice), so I had to figure out how to do it manually.
I found the Android Studio IDE settings in the Users/%username%/.AndroidStudioPreview/config folder and in there, the ui.inf.xml file, in which I could change the option FONT_SIZE back to a more manageable size.
Following image is android studio with 110 px font size on a 1920x1080 screen:
File->Settings->Appearance & Behavior-> Appearance and In theme select Darcula and apply dark background theme editor.
On OSX, in the menu bar at the top, click on Android Studio > Preferences > Appearance and you will see a theme drop down.
You can try this Making Android Studio pretty to change the android studio look and feel different.
To install Custom theme in android studio --version 4.1.2
download theme file(.jar) from https://plugins.jetbrains.com/
open android studio
drag the .jar file into studio
On Windows:
File-> Settings-> Appearance&Behavior-> Appearance:
Change "Theme field".
Simple. Just hit CTRL + alt + s - appearance & behavior - appearance - Theme - (Darcula)
You can use CTRL + SHIFT + A and then simply type theme to go directly to the theme settings. Same goes for pretty much any setting, refactoring or action you're looking for.
In Android Studio 3.4.2:
As mentioned in previous answers, you can change theme to Darcula in Appearance & Behavour > Appearance to have default dark theme.
Since macOS Mojave you can use dark mode in system. My issue was the system window bar was still light only for Android Studio:
Note there's an option to change this next to the theme selector: Use dark window headers
You can change or import a theme by using the icon that the "Duplicate Theme" arrow is pointing to in the photo.
Every one sees color differently. Most times a small change in contrast is all you need. Removing the hase from Dracula by changing the Background color to 242527 was perfect for me.
File - Settings - Appearance & Behavior - Appearance - CHOOSE Darcula in "Theme" - Press Apply.
or
Choose File - Settings - Editor - Colors & Fonts - Then SELECT Darcula in scheme name - Press Apply - restart Studio (sometimes not all elements implement theme)
Mac os : mojave / Android studio 3.5
mac os : Android Studio > Preferences > Editor > Color scheme > Scheme : Darcula
well most of these answers tell you about installing currrent theme , I will tell you the easy way to install new theme as of march 22 ,2022 .
while in android studio press ctrl + `
you may see this option switch
select Theme from the menu
then you will see themes installed .
change this or click on the last option 'install themes' to install new themes directly
Follow the steps :
Go to File -> Settings -> Appearance&Behaviour -> Appearance
Change the theme to whatever you like.
Then restart the android studio.
For easy reference in Android Studio 3.0.
Click File > Settings > Appearance & Behaviors > Apperance

Visual Studio 2012 colour theme format

I've found the colour theme settings for Visual Studio 2012 at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\Themes
I can duplicate a dark output window in the light scheme by copying the relevant key so this is definitely where the color comes from (you have to restart the IDE in-between changes).
I'm wondering if anyone is familiar with the format of the binary data in these keys?
Or the Common7\IDE\CommonExtensions\ShellColors.pkgdef file that they seem to be created from?
I've tried some experimentation with changing what I guess should be the colour values with without much success.
Try this theme editor I wrote that helps you modify the built-in colors of the Dark/Light themes. Most of Visual Studio's Windowing colors are in the Environment category.
More info here:
Modify Visual Studio 2012 Dark (and Light) Themes
Visual Theme Editor 2012 Source Code

Resources