Visual Studio 2012 is slow when selecting items in the solution explorer - visual-studio-2012

After having installed "Visual Studio 2012 Update1" some new buttons have been added, but unfortunately Solution Explorer has become incredibly slow. All mouse events on it (click, right click, double-click, on either the toolbar or any item) requires 5-10 seconds before having an answer.
After having un-installed update1 speed returned normal(=immediate).
Maybe one possible cause is one of the new buttons added, maybe "Show on Code Map".
Unfortunately I can find no way to customize (remove buttons from) Solution Explorer Toolbar; there is no "Show on Code Map" extension installed.
I have no ideas on how to investigate further.
As at least one guy got the same problem (here) maybe someone has the solution or ideas on how to further investigate.
Thank you
Stefano
Using:
Microsoft Visual Studio Ultimate 2012
Version 11.0.51106.01 Update 1
UPDATE:
Microsoft released Visual Studio 2012 Update 2;
now, with Update 2 installed, everything has returned 'normal speed',
so this question can be considered closed/obsolete. :-)

Related

visual studio 2012 puts a small number in the top left corner of my screen

I am wondering if anyone else has had this issue with visual studio (or a VS extension because I have a few installed) and what is causing this? The number goes away when I close visual studio and I have not been able to figure our what is causing this. The number is overlayed on my desktop and not just visual studio. It covers all other windows I have open as well telling me it's set to be always on top.
Anyone else come across this issue or what is causing it?
I figured it out!
This has been bothering me for years. I finally just sat down and solved the problem. Basically, VS has this little known feature where you can navigate through code lens with just your keyboard. If you press Alt for a couple of seconds, you will see numbers just like the ones that appear at the top of your screen above your current method. To fix it, just long press Alt again and the number should go away. If you have many VS instances open you might have to go through them one by one.
I don't have significant reputation to comment, but I am experiencing this both with VS2013 and VS2015 too. The only extension I have installed is Resharper.
My research shows that it is caused by the hover text / overlays from various components. The only way I have found to get rid of them is to close the Visual Studio IDE window responsible.

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

I can't see any menu in my new installed VS2012 on Win7 x64

I just get a very strange issue about my new installed VS 2012.
As you see in the screen shots it was OK to see the menu under 'File' option in my VS 2010 but at the same place of VS 2012 I couldn't see the popup menu after click the 'File' option.
However, I could trigger the function in the menu by shortcut keys such as 'X' to exit and double 'Enter' to create a new project.
Besides this I also can't see any the context menu in the IDE by pressing right mouse button.
I have tried to re-install VS 2010 and 2012 times and times but the issue is never fixed.
Do you have any idea about this? Thanks.

Where can I locate themes for VS2012

Okay, the lack of color on VS2012 is gross.
Is there someplace I can get a theme pack or something for it so that it actually looks reasonable? I really liked the look of VS2010. However, the new one reminds me way too much of 1984.
While we are at it, is there anyway to have it stop shouting at me? ALL CAPS menus are pretty hard to read. [ note: caps was resolved, thanks Konamiman]
Yes, luckily you can revert the Visual Studio 2012 ALL CAPS menus to normal menus by hacking the registry:
Launch regedit and navigate to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
Create a DWORD value named SuppressUppercaseConversion with value 1.
NOTE: As explained in the answer pointed by Yahoo Serious, the VisualStudio part on the registry key name should be changed to VSWinExpress for Visual Studio Express, and to VWDExpress for Visual Studio Express for Web.
UPDATE:
I have applied this hack in another machine and at first it did not work. It turned out that I had selected the key name from this response by double clicking it, then copied it, then pasted it in regedit. Well, by doing so I had inadvertently created the key with a trailing space in the name! And hence it did not work.
So, if you apply this hack and it seems to not work, ensure that there are no trailing spaces in the key name.
New Theme editor Specifically for 2012:
http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05
Comes w/ VS 2010 style blue and a few others...
Here is a shot of my VS2012 install that almost looks like the familiar 2010 we are all used to. It makes me feel normal again!
Here is exactly how I did this, step-by-step:
1) Close all instances of Visual Studio
2) Download vsip and extract it to a temp directory. (as of 1/3/2013 the current version is 1.5.2)
3) Open up a command prompt with "Run as administrator"
4) Go to the temp directory and run VSIP.exe - This will run an interactive program that accepts commands.
4a) Type "backup --version=2012" - This will backup all of your VS2012 UI dlls, just in case something gets messed up and you want to uninstall VSIP.
4b) Type "extract" - This will extract all of the old icons from your installation of VS2010 (per VS2010 license VSIP can not distribute those icons so we have to have a local install to pull them from).
4c) Type "inject" - This will inject all of the old 2010 icons from the previous step into the VS2012 DLLs.
4d) Type "menus -n" - This will change the menus so they are NOT ALL CAPITALIZED!
5) Download and install NiceVS - do not download the one dated 10/14 or you will be missing icons. As of 1/3/2013 I downloaded the file named "NiceVS.0.8.1.1 Beta.Full.vsix".
6) Download and install VS2012 Color Theme Editor - The next time you start VS2012 select the "Blue" theme from the color select window.
Now you should have a nice install of VS2012 that looks like my screen shot above! It takes three different applications to patch that hideous UI but it's certainly workable now! If you don't have VS2010 installed on the same machine as VS2012 then you will have to run 4b on a machine with VS2010 and then copy the VSIP Images directory to your 2012 development machine.
Update: If you install "VS 2012 Update 1" after running these steps you will need to re-run step 4c from the VSIP admin prompt (or all of step 4 if you didn't keep the extract of the VS2010 images). The file menu icons and color scheme stay as they are but the update reverts the icons in the solution explorer back to the ugly ones. Re-running the VSIP inject fixes it right up!
I feel your pain, and have been checking daily for a solution. I've now discovered this site, which includes a theme editor, as well as drumroll a VS2010 theme for VS2012!
http://bchavez.bitarmory.com/archive/2012/08/27/modify-visual-studio-2012-dark-and-light-themes.aspx
Edit - I just noticed that Brian Chavez already posted the same link as me. However, I don't think it included a premade 2010 theme until today.
Edit 2 - Another theme editor - http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05
AND ICONS!!! - http://vsip.codeplex.com/
http://studiostyl.es/
The themes for 2010 work for 2012 as well
This extension was just released a couple of days ago:
Visual Studio 2012 Color Theme Editor
If you want to change the VS shell environment themes in Visual Studio 2012, try this utility:
Modify Visual Studio 2012 Dark (and Light) Themes
Source Code
The quick option to look is VSColorOutput extension for VS2012. Just look at Tools->Extensions and NUGet package will help you to locate it asap.
Another option would be downloading and Visual Studio Color Schemes. http://studiostyles.info/ . Here is a link to Scott Gu's blog which describes how to apply your preferred schema.

Resharper 5 vs 6

Back when I had ReSharper 5 my files would have all kinds of syntax highlighting and a bar next to the scrollbar to the right. It was wonderful because it would highlight redundant imports and possible code smells, as well mark things in the bar next to the scroll bar.
With ReSharper 6 I don't have any of that. I have to actually have cursor on what I want to change and wait for the pencil or light bulb to show up. Is this how ReSharper 6 is by default or do I have to reinstall it?
First make sure ReSharper is acutally activated. If it is, there should be a ReSharper top level menu entry in Visual Studio at the top.
If it is, make sure "Enable Code Analysis" is turned on in the ReSharper settings.
If it is not, enable ReSharper in the Visual Studio settings (Tools->Options). There should be an extra entry "ReSharper" in the list on the left side. Click the "Resume" button.
If you don't have such an entry in your Visual Studio settings, ReSharper is either not or not correctly installed.
Maybe the settings were not taken from the version 5 folder to the version 6 one. Try the following:
Make sure you close Visual Studio.
Go to:
Note: this folder is from a Windows 7 machine, since you didn't provide information on which version of visual studio you are using I'm putting 'x'
"c:\Users*your user*\AppData\Roaming\JetBrains\ReSharper\v5.x\vsxx.x"
In there you'll find a UserSettings.xml file open it for edit.
Look for the "SeverityTable" node. Select it and copy it.
Paste it on the same file that you'll find on the "c:\Users*your user*\AppData\Roaming\JetBrains\Resharper\v6.0\vsxx.x" folder. I recommend making a backup of the file before doing that.
Reopen visual studio. Resharper should be indicating all the recommendations and smells as it did before you updated it.
Hope this helps.

Resources