How do I restore a menu to the Visual Studio 2008 menu bar? - visual-studio

My Alt key was unknowingly stuck down and I tried to open my Window Menu in VS, which resulted in removing the menu from the bar.
My question is, how the heck do I get it back?

Right-click on one of the visible Toolbars, select Customize...
(or Tools > Customize... menu)
Then in the Toolbars list, select Menu Bar, then click the Reset button

Related

How to remove elements from the context menu in Visual Studio

How to remove elements from the context menu in Visual Studio? I am not using all of this items, how can I still just some of them?
In Visual Studio 2017 this procedure will work:
Open "Tools" menu
Click "Customize..."
Click the "Commands" tab
Click the "Context menu" radiobutton
From the combobox on the right select the context menu you want to change
Now you should have the following dialog showing where you can remove/add items from the context menu:

The drop-down list of events in VISUAL STUDIO did not appear

In my visual studio the dropdown menu of events does not appear, I add an image to show what should go:
How I can enable this menu, appears to me again?
Thanks.
You can show it again by going to the Tools menu -> Option then in Text Editor -> (You language) -> General check the "Navigation Bar" checkbox:

Visual Studio - Is there simple way to add 'Close Solution" to r-click in Solution Explorer

I can't seem to break the habit of always right clicking on the solution to try and close a solution. Then I always remember and take my mouse the great distance across the screen to find it in the File menu.
I don't use it enough to remember a keystroke.
I use VS2008, VS2010 and occasionally VS2012
I'd prefer not to build an addin just for this small task.
In Visual Studio 2010 you can:
Right click on the Tool menu and click "Customize..".
Click the "Commands" tab.
Click the "Context menu" option.
Select the "Project and Solution Context Menus | Solution".
Click the "Add Command..." button.
Select "File" in the "Categories" list box.
Select "Close Solution" in the "Commands" list box.
Move up/down as desired.
Click "Close" and enjoy.
I don't have VS 2008 or 2012 handy, but the steps should be similar.
Edit: For VS2008
Right click on the Tool menu and click "Customize..".
Click the "Toolbars" tab.
Check the "Context menu" option. (the Context Menus tool bar will appear)
Select Command Tab in the current dialog.
Select "File" in the "Categories" list box.
Select "Close Solution" in the "Commands" list box.
Drag the Command to the "Select the "Project and Solution Context Menus" in the context Menus toolbar. You can drop it anywhere on the menu or in a sub menu - ie "Project and Solution Context Menus | Solution"
Click "Close" and enjoy.
VISUAL STUDIO 2019
Here is the way to do this with COMBINATION KEYS, that it is so better than add it to toolbar or context menu :)
Go to Tools menu
Go to Options
Press Ctrl+E and search Keyboard // OR go to
Environment>Keyboard
In right side type CLOSE in search bar(below of "Show
commands containing" I mean)
Go down and select the "File.CloseSolution" from the results
Click on the box "Press shortcuts keys:" and specify your
combination's key
Be aware that Visual Studio has a lot of default combination keys and do not use any regular shortcut.( I used Ctrl+F4)
Check the "Use new shortcut in:" and select your place that want to
use this shortcut (I suggest to use GLOBAL)
Click Assign > OK > Have Fun
You can close the solution by simply clicking File->Close Solution in Visual Studio 2017

Visual Studio 2010 "Open With..." is missing?

I'm trying to change Visual Studio to open my code instead of designer by default. This question tells me to right click on a file and go to "Open With..."
However, when I try to right click on a file in my solution explorer I have no "Open With..." option. I'm not sure if this is caused by an extension (I have the CodeRush Xpress, VSCommands, Productivity Power tools, and VCS tools for SVN, Git, and Hg), or what, but I would like to be able to configure what my files open with.
Where do I need to go to either get the menu option back or change these settings?
The context menu can be modified. If you haven't heavily customized your command bars and menus then a full reset is wise. Tools + Import/Export, "Reset all settings" radio button.
Or fix the context menu. Tools + Customize, Commands tab, click the "Context menu" radio button. Select the "Project and Solution Context Menu | Item" option from the combobox. Click the Add Command button.
This MSDN link might help you:
How to: Change or Add a Default Editor
It's not the most intuitive method, but from the link:
On the File menu in Visual Studio, choose Open and then select File.
In the Open File dialog box, select a file of the type you want to change.
Still in the Open File dialog box, click the down arrow next to the Open button, and then select Open With.
In the Open With dialog box, choose an editor from the Select a program to open list.
Click the Set as Default button and then click the Open button to open the file.

How to show icons only in Visual Studio windows

How can I show only the icons in visual studio windows? For example, the properties bar tab shows the icon and the text "Properties". Also the toolbox tab shows the icon the text "Toolbox". I would like to see only icons on tabs.
Do you know where this setting is?
Thanks
In VS2008 you can right click the toolbox and deselect "list view". This will change the view to icon, but only for the current tab.

Resources