Question
When right-clicking a file in the Solution explorer, there is the action "Copy Path/Reference". Selecting multiple files in the explorer and calling this action allows copying paths for all selected items. It is convenient to later paste the list of files to the AI. The same as for the other purposes.
However, when trying to call this action from the Git Changes tool window it does not work: there is no such an item in the context menu.
Is there a way to call the same Copy Path/Reference for the files selected in the Git Changes view?
Answer
Yes, that is possible. The available options are:
Assign a shortcut to the "Copy Path/Reference" action:
One can assign a keyboard shortcut to that action (in Settings | Keymap), so that, it is possible to invoke the action via the keyboard:
Add the shortcut for the action to the UI
From the Settings | Appearance & Behavior | Menus and Toolbars settings page it is possible to add the "Copy Path/Reference" action to the available spots. Select the desired entry in the list -> Use the "+" (Add) button -> Find and select the "Copy Path/Reference" action -> use "Move Up"/"Move Down" buttons for moving the action in the list.
For example:
Comments
0 comments
Please sign in to leave a comment.