Visual Studio 2012 Dark Theme Issue - visual-studio-2012

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.

Related

Why do these weird characters appear on IntelliJ Idea and Android Studio?

These weird characters appeared when I installed Android Studio from the official page (Android Studio shows this too). I ran my Eset Nod32 antivirus and it says everything is alright. Does somebody know how to fix this, please?
It can be due to the font set for menus being corrupt. Change the font in File > Settings > Appearance & Behavior > Appearance and see if it renders correctly, in which case you'll have to reinstall that font in your computer or just use another one.

Is there any way to change R# font size?

is there any way to change the resharper dialogs font size.
Supposedly it should be a way to do this on VS going to tools-> options-> environment -> fonts and colors -> resharper...
But in my case there is no such option. Am I missing something obvious here?
I tryed uninstalling resharper, repairing resharper, uninstall VS and re install R# but nothing seems to work....(And I tryied in four different machines)
I'm running R#7, VS2012 on a Win8 machine.
Any help will be apreciated.
Under Fonts and Colors -> Show settings for: -> "Environment Font"
You might find that R# uses the "Environment Font" which is the same font for things like Solution Explorer, menu items, etc. Try changing it and see if it effects resharper. Of course if they designed it this way, it means your entire VS environment is affected.

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

"Compare with / Latest from repository" color change

I installed Aptana Studio 3 eclipse plugin which totaly changed all default colors. After uninstalation of the plugin, in view for comparing changes from files on SVN - "Compare with / Latest from repository" still remains black background for sections which are different, comments and line numbers. Restoring setting and colors to default in "window / preferences / general" does not work. I tried also to manualy delete all folders containing "aptana" in the name from workspace. This also did not help. Thanks in advance for your ideas.
I just went through the same issue. You have to reinstall Aptana, go to Preferences -> Aptana Studio (or whatever it is) -> Themes and pick Aptana Studio 2.x, which uses a white background and black foreground.
That preference pane goes away once you uninstall it unfortunately. Kind of a stupid thing for them to change in that plugin, but I guess being edgy is more important than being consistent :)

Change ReSharper's color scheme

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!

Resources