I've found Quick Launch has CollapseRegions and ExpandRegions which functionality is actually what I need.
But I would like it to be toggled by key in like Ctrl+M,J instead of using Quick Launch like Ctrl+Q > CollapseRegions > Enter.
Is there any way to do that?
In Visual Studio 2017 :
Go to Options -> Text Editor -> C# -> Advance -> activate 'Collapse #regions when collapsing to definitions'
Explicitly to collapse all using Ctrl+M+O and for expand use Ctrl+M+X.
I'm using visual studio 2015 & MFC. (windows 10)
Someday, Asynchronized resource & code.
When I check control or dialog's property, events list is empty.(message also)
I can't automatic create event handler function by clicking button.
Please, someone solve this problem.
All project same. Even I create new solution.
That's because intellisense or its database is disable. I encountered this recently.
Check these options, should be:
IDE Tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Database = False
IDE Tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Intellisence = False
IDE Tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Rescan Solution Interval = 0
Open an empty VS IDE, fix the options, and reopen the project, everything should be fine.
#Michael Walz~ This guy illustrate this problem clearly enough, dont be nit-pick to non-native speakers
Where can i change the settings of autocomplete / intelliSense in visual studio 2010?
- Suggestions list shows for every character typed, somewhat annoying.
- Spacebar(and a lot of other characters) is commiting suggestions.
to edit the auto-complete / intellisense settings in visual studio 2010.
go to Tools -> Options... -> TextEditor -> C# -> IntelliSense
Default settings will always show a suggestion list for every character you type, and pressing spacebar (as well as a lot of other stupid characters) will always "commit" the current selected suggestion. Turn that dumb stuff off. Ofcourse you want the Enter key as the "commit" action, to do that just remove all characters and uncheck "Commited by pressing the spacebar".
http://msdn.microsoft.com/en-us/library/vstudio/fcf2zk43(v=vs.100).aspx
Tools -> Options -> Text Editor -> C# -> IntelliSense
I use: Visual Studio 2010 Ultimate, Resharer 6.
In ReSharper's options i choose Visual Studio keyboard sheme and click Apply Sheme:
After that some shortcuts are not assigned, such as: Go to Declaration, Go to implementation, Find Usages, Complete symbol, etc:
Try
Tools -> Options, Environment -> Keyboard -> Reset
Import and Export Settings, re-import C# developer settings
devenv /reset
Nothing helped.
Configure shortcuts manually is not desirable.
Help, please.
This one worked for me 100% after trying a bunch of other things:
Go to Tools -> Options -> Environment -> Keyboard -> Press the (RESET) button
Go to ReSharper - > Options -> Keyboard & Menus -> Select the "Visual Studio" scheme -> Press "Apply Scheme"
Press "Save"
Press "CTRL-T". Since this shortcut is mapped in both VS and Resharper, you will be presented with the "Shortcut Conflict"-window. Here you select "Use ReSharper (Ultimate) command" and make sure to check the box "Apply to all ReSharper (Ultimate) shortscuts".
Voila!
This is a known issue that affects all ReSharper shortcuts that include F12 after switching from IntelliJ keymap to VS keymap. It's documented in this bug report that you're free to watch and vote for.
As far as I'm aware, the only workaround would be to reassign the broken shortcuts manually through Tools > Options > Keyboard.
Hpersw's solution works. in VS -> Tools -> Import & Export Settings -> Reset all settings and press finish. This should give you the shortcuts back
After wrestling with this for half a day and trying all of the options above, I finally found the magic setting that fixed MY problems: I UNSELECTED "Hide overriden Visual Studio Items" in Options/Keyboard and Menus"
In VS go to Tools -> Options -> Environment -> Keyboard -> Apply the following keyboard mapping schema: [Default]
The easiest way to solve this problem is :
Go to: ReSharper -> Manage Options -> Reset All Settings
These steps gonna solve your shortcuts (key bindings) issues.
You do not have to keep performing the following actions:
1) Go to Tools -> Options -> Environment -> Keyboard -> Press the (RESET) button
2) Go to ReSharper - > Options -> Keyboard & Menus -> Select the "Visual Studio" scheme -> Press "Apply Scheme"
I know this is a little old, but I just thought I'd share my epiphany... It seems that with Resharper 7x and VS2010 (probably anything later too), is best set when you op for the selecting the "Text Editor" as the settings to update under Options->KeyBoard. So, what I would recommend if you like some of Resharper features, use this site to get the shortcuts Resharper Shortcuts
Then set them accordingly with Text Editor selected as the settings to update. Global does NOT seem to work consistently.
FYI- Text Editor works for C#, CSS and javascript. Not sure about other languages within VS.
Taken from the documentation on Configuring Keyboard Shortcuts:
To switch between two available keyboard schemes or restore the default state of your currently selected scheme
On the main menu, choose ReSharper | Options.
Select Environment | Visual Studio Integration.
In the Visual Studio Integration tab, select Visual Studio, ReSharper 2.x or IntelliJ IDEA, or None, and click Apply Scheme. If you selected None, you can define an arbitrary set of custom keyboard shortcuts in Visual Studio's native Options menu (Tools | Options | Environment | Keyboard) - see To configure keyboard shortcuts above.
Also, here's some documentation on how to resolve keyboard shortcut conflicts with Resharper
Doing "Reset All Settings" in VS Import&Export usually helps with restoring shortcuts. But it will, eh, reset all VS settings.
Can any one tell me how to turn off automatic outlining in Visual Studio? Outlining is the feature that collapses code into programmer defined regions.
In my opinion, there are precious few circumstances where outlining is useful. Yes, it makes large files easier to navigate, but mostly it obscures complexity. My preference would be to have this feature turned off by default when opening a source file.
In Visual Studio, go to Tools > Options > Text Editor > C# > Advanced
Clear the checkbox Enter outlining mode when files open
Tools -> Options -> Text Editor -> C# -> Advanced -> Outlining.
For VB it's Tools - Options - Text Editor - Basic - VB Specific - Enable outlining mode
For VS2008, it's under Tools – Options – Text Editor – C/C++ - Formatting - Enter outlining mode when files open.
For C/C++ in Visual 2017:
Go to Tools > Options > Text Editor > C/C++ > View
Then under > Outlining, set Enable Outlining to False.