How to change visual studio text editor to default? - visual-studio-2010

I broke text editor visual of visual studio.it is funny but i couldn't restore it.Could you please help me to restore back?
You can show the pictures to understand the problem
Original
Disrupted
the original one shows pop-up window like this;

For Visual Studio 2015:
Option 1
Tools >
Fonts and Colors >
Select "Use Defaults" on the top right corner
press "OK"
Option 2
Open Visual Studio and Go to Tools -> Import and Export Settings
Select Reset all Settings and complete the wizard
Restart VS instance

Related

Cannot import window layouts into VS2013 from VS2012

I'm having trouble importing window layouts from Visual Studio 2012 to Visual Studio 2013.
I'm getting this error message, when I try to import *.vssettings file exported from VS2012 to VS2013:
Your settings were imported, but there are some warnings.
Warning 1: Category 'Window Layouts'
({eb4ba109-a9db-4445-bd09-e7604bcdce84}) could not be migrated because
the author of the category did not provide support for migration.
I had same problem with importing window layouts from VS2010 to VS2012. I thought there was some kind of breaking change that prevented direct importing, so I just recreated my preferred window layout in VS2012.
So basically I have to recreate my preferred window layout once again in VS2013. Does anyone have any suggestion how to solve this?
By the way, I've tried to reset settings in VS2013 (Tools -> Import and Export Settings -> Reset all settings...) and then try import settings from VS2012, but no change.
Edit: what's weird, is that I can create a window layout in VS2013, export it, reset settings in VS and then import back settings with that window layout and the import is successful (imported window layout gets applied).
Does this mean Microsoft completely dropped support for migrating window layouts from one version of Visual Studio to another? I would understand, if the imported window layout contains layout information for non-existing windows (like VS2012 -> VS2010 import). But standard way of migrating settings (to newer version of software) should be supported, right?
It's a bug in the Visual Studio settings migration feature, the window layouts are actually directly compatible between VS2010/VS2012/VS2013. The solution is actually really easy: Manually export just the window layout from VS2010, change the version number in the file, then import it into VS2013, and it'll work.
For the step by step solution to this problem, do the following:
Open Visual Studio 2010
From the main menu, select "Tools->Import and Export Settings"
Select "Export selected environment settings" and press "Next"
Select only the "General Settings->Window Layouts" option from the settings tree, and press "Next"
Name the file how you want and select "Finish"
Open the exported settings file in a text editor, and change the second line from this:
<ApplicationIdentity version="10.0"/>
To this:
<ApplicationIdentity version="12.0"/>
Or set the version string to 11.0 for Visual Studio 2012.
Open Visual Studio 2013
From the main menu, select "Tools->Import and Export Settings"
Select "Import selected environment settings" and press "Next"
Save your current settings if desired, and press "Next"
Select "Browse" and locate the modified settings file, then press "Next"
Press "Finish"
I came across this question while searching for a solution myself. I couldn't find an answer anywhere, so hopefully this will help anyone else who comes across this problem.
EDIT: I've now seen a case with a colleague where there was something in his window layout settings that wasn't directly compatible with Visual Studio 2012, so this solution failed for him. If you get errors migrating your window layout, I'd suggest resorting to "slicing and dicing" the window layout to narrow down which part(s) are causing the error.

Class names not coloured in Visual Studio 2012

I am evaluating Visual Studio 2012 and am having some problems with the color schema.
Sure enough I was able to overcome the initial discomfort by setting my color for the text editor.
One thing I have not been able to set corrent are the color for the class names.
Say you have a line like below.
Class name = new Class();
the entire line is in the same color, expect the new keyword.
I want the word 'Class' to be in a different color like in earlier versions of Visual Studio.
I am not able to set the color for this from the Option.
I have tried chaning color for all fields like plain text, literals, identifier, etc under
Tool -> Option -> Environment -> Font & Colors
but still I am not able to fix this.
I have also applied custome themes, those are also not helping.
I wouldn't want to install a productivity power tool for such basic preference right ??
Edit:
I'm on Windows 7 x64 and Visual Studio Professional 2012, Version 11.0.50727.1 RTMREL
The solution I found is a combination of the suggestions found in a mish mash of related threads:
Close Visual Studio and open the VS command prompt as an administrator. Navigate to the devenv.exe file (in Express versions it is titled something along the lines of *express.exe) usually located in C://Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE.
Type devenv.exe /setup
Reopen Visual Studio. If everything is all colored now, great! If not, close the tabs and reopen them.
Performing all of step 3 is what has got my coloring to come back to normal.
Here is where I got the suggestions:
Visual Studio 2012 - Intellisense sometimes disappearing / broken
How can I get user type C# syntax highlighting working again in VS 2012 RC?
If you're using Productive Power Tools, go to => Tools -> Options -> Productive Power Tools. In main menu, TURN OFF the option: Colorized Parameter Help.
I solved my problem, I'm on Windows 8 Pro, Visual Studio 2012 Ultimate.
You're on the right track. Under Tools -> Options -> Environment -> Fonts and Colors, you want to change "User Types", first making sure at the top of the dialog that you are viewing the settings for the "Text Editor"
Although, by default with my install of Visual Studio 2012 these were already set, so you may want to try the "Use Defaults" button, unless you've made other changes that you want to keep.
go to the tools >Option click on enviroment navigation and click on import and export setting and copy the url and open directory from the url and delete all font and color file .which you got setting folder
The workaround provided by Donatas on Microsoft Connect works without having to turn off any option of Productivity Power Tools:
There is a workaround without turning off "Colorized Parameter Help".
Go to Tools > Options > Environment > Fonts and Colors in Display
items select "User Types (Value types)" click Custom next to Item
foreground color and in the color picker change Red, Green or Blue by
1, i.e. to make a custom color which basically looks the same. OK on
all the dialogs and problem solved.

"Apply Style" window is lost in Visual Studio 2010

In visual studio 2010 Ultimate I was working with Apply Style window and I temporarily closed this window by clicking X on it. Later when I look for it under View > Apply Style (its usual place) it wasn't there. devenv /resetsettings not seem to be working for me. any idea on how I can return the window back?
Thanks,
Try Tools-->Customize and then look for the Add Command button, where you can find the Apply Styles window under the "View" category.
The problem is solved by resetting the settings..
From Menu, Tools > Import and Export Settings is selected and using the wizard IDE is reset. Then the lost icons come back (visible and ready) under View.
you have to switch to HTML (Web Form) Explorer.
in your solution explorer
right click on index.html >
Open with... >
HTML (Web Form) Explorer
then in your visual studio toolbar select VIEW and you should find Apply Style now

Visual Studio 2010 IDE question

When I double click an item in the find window, the C/CPP file opens in a tab next to the find window. I want it open in the main window (center) along with the other c/cpp files. Is there a setting to get this behaviour ? Thanks
Perhaps that setting has been modified somewhere. I've tried to reproduce the behaviour in a new(ish) installation of Visual Studio 2010, and can't reproduce. Perhaps you've chosen the C++ Development Settings where the behavior is different from the C# Dev Settings.
Consider resetting your Visual Studio 2010 settings.
Tools -> Import and Export Settings -> Reset All Settings

Stop from Visual Studio opening TFS WIQ files as Text

Previously my installation of Visual Studio 2008 and Visual Studio 2010 wre both opening WIQ files correctly - connecting to TFS and wunning the TFS Query. Now both are opening the WIQ file as plain XML.
Of course, I could reinstall Visual Studio to fix the problem.
But I am looking for tips toward a faster work-around. Has someone encountered this problem before? If so how did you fix it?
This should do it:
File -> Open -> Open file
Browse to the WIQ file
Click the right hand end of the "Open" button (on the down-arrow)
A menu appears - choose "Open with..."
Choose this and a dialog appears
Select the editor you wish to use (e.g. XML)
Click "Set as default" so that this will be uised for any "Open" of a WIQ in future.
OK.
(Of course, it might not work if the VSTS WIQ editor isn't connected in to this system)

Resources