HBuilderX Shortcuts Target

HBuilderX Shortcuts Target:Define Efficient Shortcuts

HBuilderX provides a rich and easy keyboard shortcuts and lets you perform most tasks directly from the keyboard.

Command key for MacOSX,Ctrl key for Windows

Shortcuts that are close to or the same as the OS and browser

For example, shortcut of tabs are the same as those of the browser, command+t to open new tab,command+shift+t to restore closed tab, command+w to close tab, command+alt+left/right to switch tabs.

Users who are used to searching for files with command+t in the eclipse, remember that the shortcut key for searching files has been changed to command+p.

command and command+shift are the opposite and command+alt is used to more actions

command+k to format,command+shift+k to join lines

command+w to close current tab,command+shift+w to close all tabs

command+f to search file,command+alt+f to search file in selected directory

Symbolize rather than letterize

It’s difficult to remember shortcut for action “surround” action with letter.

command+] is to surround,command+shift+] is to anti-surround. It’s much easy to remember with symbol.

command+shift+| is to set a cursor for the selected row, “|” can be regarded as a cursor.

Combination of shortcut and mouse makes it more convenient to use

  • alt+mouse wheel is horizontal scrolling
  • alt+mouse single-click is goto definition
  • alt+mouse dragis column selection
  • command+mouse single-click is to add mulitple cursor
  • mouse double-click can do intelligent selection,see “Select” menu

Some shortcuts changed from previous HBuilderX version

  • Search File: command+t to command+p
  • Delete Row: command+d to ctrl+dcommand+d is to “Select Next Occurrences”
  • Format: command+shift+f to command+k
  • Join lines: command+j to command+shift+k
  • Delete Current Line: ctrl+d

Some shortcuts changed for sublime keymaps

  • Duplicate the content of the row: command+shift+r
  • Open terminal: command+~ to ctrl+x
  • Join lines: command+j to command+shift+k
  • Setting the cursor at the beginning of each line: command+shift+l to command+shift+\
  • The content of the selection brackets: command+shift+m to command+[
  • Surround: command+], it also supports to surround code snippet, such as “if”。command+shift+]: anti-surround
  • Indentation: tab or shift+tab
  • Select tag: Double-click the beginning or end of the tag or indentation
  • Expand selection: command+=
  • Duplicate line/selection: command+shift+r, not command+shift+d
  • Switch the shortcuts of other tools through “Tool->Keymaps”