visual-studiossisvisual-studio-2019sql-server-data-toolsssis-2019

SSIS keyboard shortcuts for packages layout


I am making a few edits on huge DTSX packages in Visual Studio (SSIS), and my target is to make a more tidy layout of the flows. For this reason, I use to select part of the flows and then use the following menu:

Is there a key shortcut for these commands? I looked over Google and the official Microsoft documentation, but I didn't find anything helpful in this direction.


Solution

  • By default, there are no default keyboard shortcuts assigned for the layout commands:

    enter image description here

    You can assign your own shortcuts!

    In the top menu strip, go to Tools > Options.

    enter image description here

    Once the options dialog is shown, click on the keyboard section. And select the command you are looking to assign the shortcuts. In the "Show commands containing", type Format. to find the commands related to formatting, e.g. Format.Diagram, Format.MakeHorizontalSpacingEqual, etc. Then press the shortcut you want and click on the assign button (as shown below).

    enter image description here

    After assigning the shortcuts, you check the command you selected in the menu strip and note that the keyboard shortcut is shown beside it.

    enter image description here