How to drop a Brief bookmark in Visual Studio? - visual-studio

i've created binding for Visual Studio's Edit.BriefBookmarkDropx commands:
Edit.BriefBookmarkDrop1: Ctrl+Shift+1
Edit.BriefBookmarkDrop2: Ctrl+Shift+2
Edit.BriefBookmarkDrop3: Ctrl+Shift+3
...
Edit.BriefBookmarkDrop9: Ctrl+Shift+9
Using Tools -> Options -> Keyboard:
Except that when i hit Ctrl+Shift+2, nothing happens:
i know Microsoft likes to obfuscate Visual Studio features. What's the secret trick that i'm missing?
Note: i am installed DPack into Visual Studio Professional - an addon that provides brief bookmarks (and a number of other essential features). Do not confuse this for an answer to my question:
you cannot install addons into Visual Studio Express
you cannot install addons into the Visual Studio Shell
my question isn't about addons
Bonus Reading
MSDN: How to: Use Bookmarks with Brief Emulation (Visual Studio 2008)
Numbered Bookmarks addon for Visual Studio 2005
DPak Numbered Bookmarks

It took four years, but i figured it out. Everything i was doing was correct. The only issue is that Visual Studio is stupid. Here's how to configure Visual Studio to drop a Brief bookmark:
How's that different from what i showed in the question?
Fails Use new shortcut in: Global
Works Use new shortcut in: Text Editor
By default any keys you bind in the Global space do nothing.
Which begs the question why the option is there, and the default? But usability is not something Visual Studio team prides itself on.

Related

What do I need to do to program an MFC/STL program in Visual Studio?

I've installed Visual Studio on my private PC, the version is "Microsoft Visual Studio Community 2019", version 16.1.6.
In order to prepare a job interview, I'd like to do some basic MFC/AFX programming, starting by the basic CMapStringToString example from the Microsoft website.
This, however, seems not to work, as I don't have access to the mentioned file afxcoll.h. Indeed: there is no file, called afx*.h on my PC.
Is this a limitation of my free downloaded Visual Studio installation, or is there any add-in, add-on, extension or whatever I can install in order to work with CMapStringToString objects?
Thanks in advance
You need to explicitly install MFC support in Visual Studio - which you can do on Community editions:
Open Visual Studio Installer from your Start Menu
Click the Modify button
Select the Individual Components tab
Scroll down to SDKs, Libraries and frameworks
Check the various MFC/ATL options for various platforms

Visual Studio Color Format Redundant Code

I have Visual Studio installed in one PC in which text editor is format redundant code by color (as shown in the screen shot).
I want to activate this in visual studio copy installed on another PC.
That is not a Visual Studio feature, it is one of ReSharper Code Inspection features, hence you'll need to install ReSharper on the computer where you'd like to see this code coloring...
This is a visual studio (mine is 2015) feature and should be enabled. By default it should be enabled, but am not sure what version of visual studio you are using. You can enable it by going to Visual Studio -> Tools menu -> Options

Is there a Visual Studio 2010 Add On for Tabbed Multi-Monitor support

In Visual Studio 2010 you can drag tabs out to separate windows but you can not collect them together as additional tabbed elements. Is there a VS 2010 add-on to allow you to group your extra windows into tabs? It would be really nice to have a set of tabs on each of my monitors.
The best place to look is the Visual Studio Gallery for 2010 Extensions. If you are lucky someone else has already had the idea and created an extension (VSIX) for you.
Otherwise, why do you have a go at writing it yourself by grabbing a copy of the Visual Studio 2010 SDK and read the Getting Started Guide.
UPDATE: I just stumbled on this awesome Visual Studio Extension that may do want you are looking for: Visual Studio 2010 Pro Power Tools.
http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef
Productivity Power Tools does it, and it's free. The feature is called Document Well.

Visual Studio 2010 Keyboard Shortcuts

I 've had a list of Visual Studio 2008 keyboard shortcuts pinned to my wall for quite some time - http://nerdfortress.s3.amazonaws.com/visual-studio-2008-keyboard-shortcuts.html.
Does anyone know of a similar thing for Visual Studio 2010?
Scott Guthrie just posted about this. You can download a list of shortcuts directly from Microsoft at http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=92ced922-d505-457a-8c9c-84036160639f
Here are a few links you could try:
http://www.devcurry.com/2010/04/visual-studio-2010-keyboard-shortcuts.html
http://www.itscodingtime.com/post/Visual-Studio-2010-Keyboard-Mouse-Shortcuts.aspx
The devcurry.com site shows the nicer PDF version from Microsoft.

How do I see the list of addins and plugins in Visual Studio?

I think I have a plugin or addin to studio installed which has killed all versions of studio.
Where can I see the list of plugins and addins that studio is loading? I believe I have gone through all of the menu to find the list of addins.
Would someone point me in the direction that shows me the list of addins? I will remove them all one by one until I find the one that is "killing my productivity" for the day. :)
They appear in three difference places, but any given addin/package doesn't necessarily appear in in all those places:
The splash screen
Tools / Add-in manager
Help / About (in the "Installed products" list)
In Visual Studio 2013, go to the "Tools" menu and open "Extensions and Updates".
In "Installed"->"All" section you can see it all.
Try looking at your packages installed for Visual Studio. They are registered in the registry under:
Visual Studio 2008
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Packages
Visual Studio 2005
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp
Packages are the complete installs of all addins, automations, and alike.
If you have a lot, I say kill them all. And then reinstall your specific addons (such as CodeSmith or VisualSVN). You may need to clean up the addons that were manually added. But, I think that once you remove the "Package", it disables those addons and automation tools automatically.
For reference, this is my fresh new install of Visual Studio 2008 SP1 on Windows 7 RTM. Only 1 plugin, and it's for SQL Server's SSIS:
registery http://eduncan911.com/blog/thumbnail/billrob-stackoverflow.png
Go to the Tools menu and open Add-in manager. Or you can go to the visual studio folder inside of My Documents and look in the addins folder.

Resources