VS2010 options keep changing automatically (statement completion) - visual-studio-2010

I always have to go to Tools > Options > Text Editor > All Languages > General and re-enable the statement completion options.
Why do they keep getting disabled?

It was resharper version 5.something that was doing it. The latest update fixed it though.

Related

How do I remove these annoying error labels?

VS 2022
How do I get rid of these annoying error popups while I'm typing? They even appear over the text I'm currently typing sometimes.
I'm not exactly sure when it started, I may have accidentally turned on an option by mistake, but I don't remember which option controls this.
Tools > Options > Text Editor > C# (for example) > Advanced > Display diagnostics inline (uncheck)

How to turn on matching braces VS 2017

I just installed VS 2017 but I can't seem to get matching braces turned on. I tried changing colors in the tools editor but that didn't work. Not sure what I did to turn this off.
OK, for some reason its only for JavaScript files. If this happens to you, go to Tools > Options > Text Editor > JavaScript/TypeScript > Language Service and uncheck the Enable the new JavaScript language service. If you have any JavaScript files open at the time you do this, you will need to close and then reopen them.

Resharper 6.0 tab instead of spaces

How to force resharper 6.0 to use tab instead of spaces during code clearup ?
ReSharper uses VS settings, it doesn't have own settings for this task.
Go to Tools->Options->Text Editor->Necessary lang or All Languages->Tabs and select "Insert spaces" or "Keep tabs".
This is a bug in ReSharper. It typically uses the VS settings, but when aligning it always uses spaces and ignores the VS settings (particularly the Smart Tabs).
A request for a fix to this has been around since version 4, but is still not fixed in verstion 6 (the most recent release).
The bug is noted here: RSRP-150306
and here: RSRP-200204
Update: One thing you can do to work around this issue, after doing the ReSharper cleanup, you can use the VS formatting call to have it fix the tabs/spaces. The default shortcut for this is
Ctrl-K,Ctrl-D for the entire document
Ctrl-K,Ctrl-F for just the selected text.
Another option is to install the Productivity Power Tools package (through NuGet or here) and then enable the 'Fix Mixed Tabs' option which offers you an option to Tabify or Spaceify files when it senses a mixture.

How do I enable file editing in Visual Studio's debug mode?

Is there a way to enable file editing while debugging in Visual Studio?
I have unchecked the "Require the source file to exactly match the original version" checkbox.
It makes no difference. I have to stop debugging to edit files. Very annoying.
I enabled Edit and Continue. Same result.
I disabled Edit and Continue - Same result.
As far as I know you can uncheck the "Edit and Continue" checkbox.
Tools -> Options -> Debugging -> Edit and Continue > Enable Edit and Continue (uncheck)
Expanding on Reed's correct answer.
When in debug mode editing a file is using a feature known as Edit and Continue (commonly abbreviated ENC). This allows users to change their program as it is running in the debugger.
When ENC is enabled, users are allowed to perform a limited set of edits on their file. The next action which continues execution of the program (F10, F5, etc ...) will cause the edits to be applied to the running program. If this succeeds the execution of the program will continue with the new code applied.
The debugger does not allow edits to the file if ENC is not enabled.
There are a few reasons ENC may be disabled on your computer
Certain profiles do not enable ENC by default and it must be explicitly enabled
You may be running on a 64 bit OS and have your .Net app set to "Any CPU". ENC is not available on 64 bit (CLR limitation). You'll have to set the app back to x86 for ENC to work
UNcheck "Enable Edit and Continue" (Tools -> Options -> Debugging -> Edit and Continue > Enable Edit and Continue)
Build your app.
Run it.
Stop it.
REcheck "Enable Edit and Continue".
Build your app.
Run it.
Try editing the files while debugging now.
This worked for me. I believe it might be some bug or syncing issue with Visual Studio 2015.
You need to enable Edit and Continue.
From MSDN
To enable/disable Edit and Continue
Open debugging options page (Tools / Options / Debugging). Scroll
down to Edit and Continue category. To enable, select the Enable Edit
and Continue check box. To disable, clear the check box. Note. ...
Click OK.
usually editing a file during debugging is possible when you have hit a breakpoint (and only then).
There are some restrictions though:
-your new code must compile
-you cant change code in a function that contains lambda expressions
For me this link Disabling IntelliTrace worked.
Go to
Tools > Options > IntelliTrace > (uncheck) Enable IntelliTrace
Or Debug > Options > IntelliTrace > (uncheck) Enable
IntelliTrace
If you have Edit and Continue turned on and you are using C# you can only edit a file if the debugger has stopped either via a break point or you manually breaking into the App via "Break All". You still won't be able to edit some files, Ex. xaml files in a WPF app, but it should solve most problems.
Removing tick at below option work for me
Tools > Option > Debugging > General > Enable Edit and Continue
*Note: At some fellow developers system, Adding this tick performed the trick.
If your source origins from a decompiled dll, note that decompilers may add an IgnoreSymbolStoreSequencePoints instruction to assemblyinfo.cs:
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
This line must be removed in order to load the pdb-file, making edit & continue work.
I have tried this way and its Working for me.
Go TO CSProj Or VbProj File -> Choose Asp.Net Development Server/ IIS Express ->Debuggers->Enable Edit and Continue->Save and Run.
Click Tools -> Option: and then make sure the following is selectted:

Visual Studio: MyMacros won't show up in Tools > Options > Environ. > keyboard

I have a macro that I wrote to just help me with my unit testing (it was derived from other macros that just add underscores to the name of the method as you write it,), and when I go to Tool > Options > Environment > and then keyboard to assign a shortcut to it, it not anywhere to be found, none of the "MyMacros" default section is there. Any ideas?
Also, the macro explorer option isn't under Tools menu, I need to hit ALT+F8 to get to it, maybe they are related?
Thanks.
You're likely running into an issue where your current profile settings hid the macro explorer. Try going to Tools -> Import/Export Settings and choose reset all settings. Choose the "General Profile." If it is a settings issue, this will cause the menu to re-appear.

Resources