Productivity Tips

Command Palette

Access all available Fabric Web Studio functionalities and commands from the top menu by selecting View > Command Palette or use ⇧⌘P (Cmd+Shift+P) on Mac or Ctrl+Shift+P in Windows, to bring up the Command Palette.

  • Each command appears with its associated shortcut (if one exists). If you forget a keyboard shortcut (also referred to as a 'key binding'), use the Command Palette to help you out.

  • The Command Palette first shows the recently used commands and then all the other commands.

  • If you do not remember the exact command, just start to type the keyword that may fit to filter relevant matches. The Command Palette will complete the command.

  • The Command Palette includes both standard IDE commands, as well as Fabric dedicated commands. Once the palette opens, type "Fabric" to filter and see the commands.

Keyboard Shortcuts

Following are useful keyboard shortcuts for Mac / Windows ( ⌘ refers to the CMD button on Mac, and ⌥ stands for Alt on Mac).

To open the full list of shortcuts, either:

  • Use the top menu: File > Preferences > Open Keyboard Shortcuts, or
  • Use the bottom-left Preferences gear icon > Open Keyboard Shortcuts
Shortcut Description
⇧⌘P / CTRL+shift+P Show Command Palette
⌘P / CTRL+P Quickly Open recent files, shown in the drop-down list, or search by typing a filename.
Typing filename: line number will lead you to that line in file.
⌘J / CTRL+J Toggle (show/hide) Bottom Panel
⌘M / CTRL+M Toggle Maximize Editor's Window (used together with F11, to get a full screen editor)
⌘⌥D / CTRL+alt+D Switch to the next editor Tab
⌘⌥A / CTRL+alt+A Switch to the previous editor tab
⇧⌘M / CTRL+Shift+M Open Problems Panel
⇧⌘F / CTRL+Shift+F Open Search View to search for terms inside files
⇧⌘D / CTRL+Shift+D Open Debug View
^` / CTRL+` Show/Hide Linux Terminal
^⇧` / CTRL+Shift+` Create and show another Linux Terminal, if one is already open

Editing and Debugging

Shortcut Description
^G / CTRL+G Go to a line within a file
⇧⌘K / Ctrl+Shift+K Delete a line
⌘K ⌘C / Ctrl+K CTRL+C Comment out selected lines
⌘K ⌘U / Ctrl+K CTRL+U Uncomment selected lines
⇧⌘\   /   Ctrl+Shift+\ Jump to the matching bracket
⌥⌘[ / Ctrl+Shift+[ Fold (collapse) region
⌥⌘] / Ctrl+Shift+] Unfold (expand) region
⌘K ⌘[ / Ctrl+K Ctrl+[ Fold (collapse) all subregions
⌘K ⌘] / Ctrl+K Ctrl+] Unfold (expand) all subregions
⌘K ⌘0 / Ctrl+K Ctrl+0 Fold (collapse) all regions
⌘K ⌘j / Ctrl+K Ctrl+j Unfold (expand) all regions

Save / Auto Save

By default, Web Studio requires an explicit action to save your changes to a disk, by using Ctrl+S or via the top menu - File > Save.

However, it is easy to turn on the Auto Save, which will save your changes every preconfigured time (default is 4 seconds). With this option turned on, there is no need to explicitly save the file. To turn on the Auto Save, use the File > Auto Save toggle that turns it on and off.

Rename Entities

Renaming an entity can be done from the Project Tree context menu. To do so, either right-click on a file and choose the Rename option or click the F2 key.

When renaming entities, Studio carries out some of the tasks on your begalf. For example:

  • When renaming a Data Product/Logical unit, all relevant files under it - such as Java packages - will be automatically updated.
  • When renaming an interface file name, the name - which exists inside the file content - will be changed accordingly.
  • When renaming a table name, Studio will update its related population flow name.

Code Completion (IntelliSense) and Code Snippet

Learn here about this capability, available when editing your code.

Viewing Diffs

You can diff any two files by right-clicking on a file in the Project Tree or in the OPEN EDITORS list (if it appears there) and choosing Select for Compare, and then right-clicking on a second file and choosing Compare with Selected.

Previous

Productivity Tips

Command Palette

Access all available Fabric Web Studio functionalities and commands from the top menu by selecting View > Command Palette or use ⇧⌘P (Cmd+Shift+P) on Mac or Ctrl+Shift+P in Windows, to bring up the Command Palette.

  • Each command appears with its associated shortcut (if one exists). If you forget a keyboard shortcut (also referred to as a 'key binding'), use the Command Palette to help you out.

  • The Command Palette first shows the recently used commands and then all the other commands.

  • If you do not remember the exact command, just start to type the keyword that may fit to filter relevant matches. The Command Palette will complete the command.

  • The Command Palette includes both standard IDE commands, as well as Fabric dedicated commands. Once the palette opens, type "Fabric" to filter and see the commands.

Keyboard Shortcuts

Following are useful keyboard shortcuts for Mac / Windows ( ⌘ refers to the CMD button on Mac, and ⌥ stands for Alt on Mac).

To open the full list of shortcuts, either:

  • Use the top menu: File > Preferences > Open Keyboard Shortcuts, or
  • Use the bottom-left Preferences gear icon > Open Keyboard Shortcuts
Shortcut Description
⇧⌘P / CTRL+shift+P Show Command Palette
⌘P / CTRL+P Quickly Open recent files, shown in the drop-down list, or search by typing a filename.
Typing filename: line number will lead you to that line in file.
⌘J / CTRL+J Toggle (show/hide) Bottom Panel
⌘M / CTRL+M Toggle Maximize Editor's Window (used together with F11, to get a full screen editor)
⌘⌥D / CTRL+alt+D Switch to the next editor Tab
⌘⌥A / CTRL+alt+A Switch to the previous editor tab
⇧⌘M / CTRL+Shift+M Open Problems Panel
⇧⌘F / CTRL+Shift+F Open Search View to search for terms inside files
⇧⌘D / CTRL+Shift+D Open Debug View
^` / CTRL+` Show/Hide Linux Terminal
^⇧` / CTRL+Shift+` Create and show another Linux Terminal, if one is already open

Editing and Debugging

Shortcut Description
^G / CTRL+G Go to a line within a file
⇧⌘K / Ctrl+Shift+K Delete a line
⌘K ⌘C / Ctrl+K CTRL+C Comment out selected lines
⌘K ⌘U / Ctrl+K CTRL+U Uncomment selected lines
⇧⌘\   /   Ctrl+Shift+\ Jump to the matching bracket
⌥⌘[ / Ctrl+Shift+[ Fold (collapse) region
⌥⌘] / Ctrl+Shift+] Unfold (expand) region
⌘K ⌘[ / Ctrl+K Ctrl+[ Fold (collapse) all subregions
⌘K ⌘] / Ctrl+K Ctrl+] Unfold (expand) all subregions
⌘K ⌘0 / Ctrl+K Ctrl+0 Fold (collapse) all regions
⌘K ⌘j / Ctrl+K Ctrl+j Unfold (expand) all regions

Save / Auto Save

By default, Web Studio requires an explicit action to save your changes to a disk, by using Ctrl+S or via the top menu - File > Save.

However, it is easy to turn on the Auto Save, which will save your changes every preconfigured time (default is 4 seconds). With this option turned on, there is no need to explicitly save the file. To turn on the Auto Save, use the File > Auto Save toggle that turns it on and off.

Rename Entities

Renaming an entity can be done from the Project Tree context menu. To do so, either right-click on a file and choose the Rename option or click the F2 key.

When renaming entities, Studio carries out some of the tasks on your begalf. For example:

  • When renaming a Data Product/Logical unit, all relevant files under it - such as Java packages - will be automatically updated.
  • When renaming an interface file name, the name - which exists inside the file content - will be changed accordingly.
  • When renaming a table name, Studio will update its related population flow name.

Code Completion (IntelliSense) and Code Snippet

Learn here about this capability, available when editing your code.

Viewing Diffs

You can diff any two files by right-clicking on a file in the Project Tree or in the OPEN EDITORS list (if it appears there) and choosing Select for Compare, and then right-clicking on a second file and choosing Compare with Selected.

Previous