In Visual Studio, highlighting a keyword and pressing F1 will take you to the relevant help page documentation about it.
How can I do this if I don't have an F1 key? Is there a menu item or ribbon button or different key press I can use?
There isn't a toolbar button for "F1 Help" by default but you can customize your toolbar to add one. Click the "Add or Remove Buttons" icon at the right of your main toolbar:
Then, from the second pop-up menu you get from that small drop-down, select the "Customize..." command. In the pop-up dialogue box that follows, select the "Commands" tab and click the "Add Command" button …
Finally, in the "Add Command" dialogue-box, select the "Help" category in the left-hand pane and scroll down the right-hand pane until you see the "F1 Help" button, select that and click OK …
You will now have a new button on your toolbar (the blue disk with a ? in it) that will execute F1 Help when you click it:
(The process outlined here, and the images given, are for Visual Studio 2022; however, VS-2019 has a very similar workflow to achieve the same result.)
When I select TortoiseGit and Settings I have the options to configure what options are available in the context menu.
Nothing I change takes any effect. My original goal was to add the "Add Ignore" option to the context menu but it's already selected and does not show. If I remove other items they are not removed so my changes are not taking effect.
I'm trying to right click on the "node_modules" folder, select "TortoiseGit" then "Add to ignore list".
Am I missing something here? Is it possible that the "context" menu in "Settings" is not the same as the context menu displayed when right clicking on a folder and selecting "TortoiseGit"?
I am looking at this, but the documentation says that it will create a Customize Toolbar... menu.
What I am looking for is a way to have NSToolbar respond to the right click and display context menu where one of the item is "Customize...".
Will this functionality be turned on or I will have to do something extra? If I do, then what?
TIA!
If allowsUserCustomization is YES, the toolbar provides a context menu with a “Customize Toolbar…” item. You don't have to do anything else to make this menu work.
In Xcode's macOS application template, the View menu of the menu bar contains a “Customize Toolbar…” menu item which is enabled or disabled automatically based on the setting of allowsUserCustomization of the front window's toolbar. You don't have to do anything to make this work either.
If your app's main menu doesn't have the “Customize Toolbar…” menu item under any submenu, you can add one yourself by dragging a menu item out of the Objects Library. Connect the menu item's action to First Responder's runToolbarCustomizationPalette:.
I'm using Visual Studio 2017, and I really need a menu with useful buttons in the toolbar, now when I got into the customization menu TOOLS -> Customize -> Commands.
I made a custom menu "MY_MENU" and menu item "Close Project", but for some reason I just can't move the menu item into the menu (see picture). How do I do this?
I believe I had the same problem as the questioner, and managed to solve it, details below.
Note: I use Visual Studio 2015 Professional, but this should apply to later versions as well.
Scenario
I created a new Toolbar FooToolBar, and placed to the toolbars like this:
Goal
To place the "Solution explorer" icon inside the menu.
Problem
Inside the Customize window you can't just drag&drop the item to the menu:
Solution
Inside the Toolbar combobox, a new item appeared, select that:
After this, you will see a new area where you should place the icon you wanted to.
Also, remove the previous icon from the previous, FooToolBar toolbar item.
After doing this, press OK and it will work.
Result
I hope I helped someone. :-)
Warning: After you customize a toolbar or menu, make sure that its check box remains selected in the Customize dialog box. Otherwise, your changes won't persist after you close and reopen Visual Studio.
Adding, removing, or moving a menu on the menu bar
On the menu bar, choose Tools, Customize.
The Customize dialog box opens.
On the Commands tab, leave the Menu bar option button selected, leave Menu Bar selected in the list next to that option, and then perform one of the following sets of steps:
Adding, removing, or moving a toolbar
On the menu bar, choose Tools, Customize.
The Customize dialog box opens.
On the Toolbar tab, perform one of the following sets of steps:
To add a toolbar, choose the New button, specify a name for the toolbar that you want to add, and then choose the OK button.
Customizing a menu or a toolbar
On the menu bar, choose Tools, Customize.
The Customize dialog box opens.
On the Commands tab, choose the option button for the type of element that you want to customize.
In the list for that type of element, choose the menu or toolbar that you want to customize, and then perform one of the following sets of steps:
To add a command, choose the Add Command button.
In the Add Command dialog box, choose an item in the Categories list, choose an item in the Commands list, and then choose the OK button.
Specifically, I'm trying to select iTunes' menu item "File > Library > Export Library" but it interprets clicking on "File" as locking AI's focus, rather than activating file. The NEXT click activates the File menu, but then I can't switch the focus to the menu item I'm really interested in?
Press optionspace after the first click on "File", then move the cursor through the menu, then optionspace again to lock on the element you want.