Home > Article > Development Tools > How to hide code in sublime
How to hide code in Sublime? Hide selected code: Windows/Linux: Ctrl D; macOS: Cmd D Hide block comments: Windows/Linux: Ctrl /; macOS: Cmd / Hide entire files: Use the Hide Files plugin; Hide files: Ctrl Alt H (Windows/Linux )/Cmd Option H (macOS); Unhide files: Press the same shortcut key again.
How to hide code in Sublime
Hide selected code
To hide selected code, use the following shortcuts:
Ctrl
D
Cmd
D
This will hide all selected code blocks. To unhide, use the same shortcut key again.
Hide Block Comments
To quickly hide or unhide block comments, use the following shortcut keys:
Ctrl
/
Cmd
/
Hide the entire file
To hide an entire file, you can use a Sublime Text plugin such as Hide Files. This plugin allows you to hide entire files via hotkeys or menu commands.
Install the Hide Files plug-in
Hide Files
and press Enter. Install Package
. Using the Hide Files plugin
Ctrl
Alt
H
(Windows/Linux) or Cmd
Option
H
(macOS). The above is the detailed content of How to hide code in sublime. For more information, please follow other related articles on the PHP Chinese website!