Resharper 7 - Cannot create custom pattern - resharper

When I try to create a new "highlighting pattern" in Resharper, the typing inside the main textbox simply doesn't work. So I'm stuck with the default input (="3") and can't change it at all. Am I doing something wrong, or is this a bug?
My Resharper version: JetBrains ReSharper 7.0.1 Full Edition Build 7.0.1098.2760
Thank you.

Apparently this problem disappeared after I have restarted my computer. Restarting Visual Studio alone didn't help.

For me restarting Visual Studio and not opening a solution did the trick. As soon as any solution is open, the main textbox becomes inoperable. This is even true after closing the solution.
Of course you can not save your changes to a solution that way.

I suspended R# (tools=>options=>resharper=>suspend), restarted vs, opened solution, re-enabled R#
JetBrains ReSharper 7.1 C# Edition
Build 7.1.25.234 on 2012-11-13T18:34:00

Related

Visual Studio 2012 Project Properties Editor is Disabled

I have problem with my visual studio. Something went wrong with my project properties and I always see everything disabled. It hapens even if I create new console application.
Any ideas? I restarted all visual studio settings, restarted computer, uninstalled extensions, searched the web but nothing helped.
I used Repair in add or remove programs and it is working fine now. Wonder what went wrong. I dont like this "it worked yesterday" problems.
The same symptom occurs while running your program in Visual Studio using the debugger.
If the project properties are greyed out, first check if you are debugging. If you are, finish debugging, then look again at the property pages.

VMDebugger add-in crashes each time Visual Studio opens up

I'm experiencing the following error each time I open up an instance of VS 2012, for about a week
(so it's not due to the yesterday's Update 4).
Even if I click Yes, the error is shown again when I re-open Visual Studio.
Anyway, the VMWare debugger seems to be correctly loaded
(actually I don't use it, it came with VMWare workstation).
I can't isolate a single operation that caused the error to start appearing.
Anyone is experiencing the same error?
[Edit] See Attilas answer for a much easier solution producing the same result [/Edit]
For anyone who could not solve this problem by re-installing the VMWare plug-in but do not want to sacrifice all his VS settings, here is a solution that did work for me:
Export 'Menu and Command Bar Customizations' VS settings only using
Tools => Import and Export Settings... => Export selected environment settings
Deselect 'All Settings'
Select only 'All Settings/General Settings/Menu and Command Bar Customizations'
Open exported .vssettings file in a text editor, scroll to the end and remove the entry <add_toolbar Menu=... Name='VMware' .../> in the UserCustomizations section
Import edited .vssettings file using
Tools => Import and Export Settings... => Import selected environment settings
and restart Visual Studio to check if the error has gone.
I know this is an old thread, but I solved this problem with a rather simple step. Had the same scenario, clicking Yes in the popup window didn't change a thing.
What worked for me: you should start VS as an administrator, wait for the popup window and click Yes. After that the popup never came up again (even when VS was run as a non-administrator). So there was no need for me to uninstall the VMWare pluging (or the whole VMWare WS).
Run the VMware Workstation installer
Choose Modify/Change
Uncheck Visual Studio Plugin
Problem gone!
Run the VMware Workstation installer
Choose Modify/Change
Check Visual Studio Plugin
Problem back again!
Regards
Lemmy
one possible solution:
Tools => Import and Export Settings => Reset all settings
seems to work for me.
VS 2013
Tools > Customize.. > Toolbars
Here I selected VMware and clicked Delete button.
I really don't use this plugin, this was the easiest solution for me.
None of the solutions here worked for me since I have already uninstalled vmware a long time ago and I was not willing to re-install it again.
MSDN suggests that there should be a registry key under
Root\Software\Microsoft\Visual Studio\...\AddIns\...
for VMdebugger, just delete that entry (the whole folder) and it'll be gone.
This worked for me:
completely uninstall VMWare workstation, reinstall it (select or deselect the VS plugin as you wish)
old school
If the option to install for all users was requested these Registry entries must also be removed.
HKEY_USERS.DEFAULT\Software\Microsoft\VisualStudio\11.0_Config\Addins\VMDebugger.Connect
HKEY_USERS.DEFAULT\Software\Microsoft\VisualStudio\12.0_Config\AddIns\VMDebugger.Connect
They correspond to the following HKCU entries. Hunt and kill.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\Addins\VMDebugger.Connect
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Addins\VMDebugger.Connect
From VS2012 menu bar select [Tools] [Add-in Manager]
Then check mark the radio box to install VMDebugger.
Worked on my system:
Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51209
Installed Version: Professional
Visual Studio Integrated Virtual Machine Debugger

Visual Studio 2012 + Resharper 7.1 = slooooow, what to do?

I used to have R# 6 with VS2010 and it was great.
Now I installed yesterday R# 7.1 trial and my VS 2012 became slow to the point I really
want to uninstall R# despite all the heartache involved with it.
Any advices on how to troubleshoot this performance issue?
Please be more specific: what kind of projects do you work with, did you notice which particular actions are slow (for example, opening a solution, invoking code completion (IntelliSense) in JavaScript or something like this). Without details I can only give you these general advises:
Close Visual Studio, try to delete your solution caches (they are usually located near your *.sln file, in folder named like _ReSharper.), open Visual Studio again.
Try to temporaty disable/uninstall all other Visual Studio extensions/plugins.
Try ReSharper 8.0 EAP, maybe your issue is fixed there.
ReSharper has a feature that allows you to profile it (menu ReSharper | Help | Profile Visual Studio). If you know a reproducible slow action, you can invoke this feature, make this action and then send this performance snapshot to JetBrains support (http://www.jetbrains.com/support/resharper/) or open a bugreport at http://youtrack.jetbrains.net/. They could tell you which part of ReSharper is slow and how to disable that part.

Project dependencies not loading in Visual Studio 2012

I'm not sure if this is a add-on/extension issue but I'm having a heck of a time with Visual Studio 2012 on two computers. I believe it is DevExpress CodeRush causing the problems as it seems to work fine when I uninstall it but I'm not 100% sure.
I startup VS 2012, answer YES to the Get Latest from TFS 2012 and the solution right-click the solution node in the Solution Explorer and choose Project Dependencies... - it shows nothing checked. Of course the build will fail. I close and restart VS 2012 and then it shows. I typically do this through the course of the DevExpress option to clear the solution cache which causes the solution to reload.
Does anyone have any suggestions as to what may cause the project dependencies to get lost yet after a restart they are fine again? Is there something I need to delete and rebuild to try and resolve this?
The fix (so it seems) is to not check the option in VS source control settings to do a Get Latest when opening the solution. It seems to prevent the solution from initializing properly. I will consider reporting this to Microsoft Connect.
As I know CodeRush does not change anything in the Project Dependencies dialog. However you can write to DevExpress Support Center (http://www.devexpress.com/Support/Center) for a more detailed answer and research.
I also recommend you include a project and a video that illustrates the problem (if possible).
I was facing same issue. However got fixed after deleting .suo file from solution folder

How to repair Resharper?

I have problem with Resharper - all it's menu options are greyed, no shortcuts working...
I've tried run installer with repair option - no success
Also tried uninstall / install back - same.. :(
ReSharperSetup.4.5.1288.2.msi
Can someone advice how to make it working back?
I had a similar problem with VS2010 and version 5.1.1753.4 of ReSharper. ReSharper is shown as "Not Loaded" in VS2010 About box and no ReSharper menu is visible. After multiple install/uninstall/register MSXML6/attempts of ReSharper, I finally figured out that:
A REINSTALL DOESN'T AUTOMATICALLY RE-ENABLE RESHARPER IF IT WAS DISABLED AT THE TIME OF DEINSTALLATION!
So the simple fix is just got to Tools.Options.ReSharper.General in VS2010 and enable it again.
In case ReSharper is listed as [Not Loaded] under Help > About Visual Studio, this most likely means that msxml6 component registration is broken. To fix this problem, just re-install MS XML Core services 6.
Tools -> Import and Export Settings -> Reset all settings
Source.
See if it's even loaded by ticking the checkbox it in the Tools → Add-in Manager.

Resources