Home > Development Tools > sublime > body text

How to hide code in sublime

下次还敢
Release: 2024-04-03 10:06:20
Original
891 people have browsed it

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

How to hide code in Sublime

Hide selected code

To hide selected code, use the following shortcuts:

  • Windows/Linux: Ctrl D
  • macOS: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:

  • Windows/Linux:Ctrl /
  • macOS: 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

  1. Open Sublime Text’s Package Control.
  2. Enter Hide Files and press Enter.
  3. Select Install Package.

Using the Hide Files plugin

  1. Make sure you have the Hide Files plugin installed and enabled.
  2. Hide files: Press Ctrl Alt H (Windows/Linux) or Cmd Option H (macOS).
  3. Unhide files: Press the same shortcut key again.

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!