- HBuilderX Shortcuts Target
- Shortcuts that are close to or the same as the OS and browser
- command and command+shift are the opposite and command+alt is used to more actions
- Symbolize rather than letterize
- Combination of shortcut and mouse makes it more convenient to use
- Some shortcuts changed from previous HBuilderX version
- Some shortcuts changed for sublime keymaps
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 scrollingalt+mouse single-click
is goto definitionalt+mouse drag
is column selectioncommand+mouse single-click
is to add mulitple cursormouse double-click
can do intelligent selection,see “Select” menu
Some shortcuts changed from previous HBuilderX version
- Search File:
command+t
tocommand+p
- Delete Row:
command+d
toctrl+d
。command+d
is to “Select Next Occurrences” - Format:
command+shift+f
tocommand+k
- Join lines:
command+j
tocommand+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+~
toctrl+x
- Join lines:
command+j
tocommand+shift+k
- Setting the cursor at the beginning of each line:
command+shift+l
tocommand+shift+\
- The content of the selection brackets:
command+shift+m
tocommand+[
- Surround:
command+]
, it also supports to surround code snippet, such as “if”。command+shift+]
: anti-surround - Indentation:
tab
orshift+tab
- Select tag: Double-click the beginning or end of the tag or indentation
- Expand selection:
command+=
- Duplicate line/selection:
command+shift+r
, notcommand+shift+d
- Switch the shortcuts of other tools through “Tool->Keymaps”