Keyboard Shortcuts, Command Palette, and Quick Find - 2023.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
Release Date
2023.2 English

Keyboard Shortcuts

You can review and edit keyboard shortcuts from File > Preferences > Open Keyboard Shortcuts, or use shortcut key Alt + Ctrl + Comma. For example:

  1. Use Alt + Ctrl + Comma shortcut to open the Keyboard Shortcuts window.
  2. Type build in the search bar. Matching keyboard shortcuts are displayed.
  3. The Build: Hardware key-binding is Alt+Shift+BH.
  4. To edit the keyboard shortcut for build hardware, hover over the line of Build: Hardware, click the Edit Keybinding icon on the left, input your preferred key-binding in the pop-up window.

Command Palette

The command palette lets you quickly find and execute commands without remembering the keyboard shortcuts or menu location. For example, to run build hardware with the command palette, do the following:

  1. Select your component or project in the workspace.
  2. Type Ctrl + Shift + P to open the Command Palette menu.
  3. Type in the keyword build or run or debug for example, and the Command Palette filters the list of command names until it includes only those commands that match your text entry.
  4. Use the mouse, or the up or down arrow keys to scroll through the selection of commands and select the command you want to execute.
  5. Hit enter to execute the selected command.

For example, select an HLS component in the Component Explorer and type Ctrl+Shift+P, and then in the Command Palette type C Syn and the tool shows HLS: C Synthesis as one of the options. Select the option and press Enter. The tool runs C synthesis on the selected HLS component.

Quick Find

You can use Ctrl + P to open the Quick Find box. Type in a file name and the tool will begin to find files that match your search string. Select a file and hit enter to open it.

With a file open, you can type @ in the Quick Find box to go to a function within the code, or type :40 for example, to go to line 40 of the file. You can use this method to quickly find and jump to a function or line number.