Basic use of sublime text3

1. How to create a folder on the left, right-click it and only the newly created file will appear?

Create an empty folder on the local computer, then drag it to the left column of sublime, the folder is here.

Then you can right-click the folder-create a new file.

2. How to create a simple html template in sublime?

 The first step: Open the menu (Tools)-plug-in development (Developer)-new code snippet (New Snippet).

Step 2: Write down the code snippet you want in <![CDATA[and]]>, note that the code snippet should be on the far left.

Step 3: Set the shortcut key, open the comment of the tabTrigger tag below, and the h in the middle is your shortcut key.

Step 4: Ctrl+s to save. The name is anything you want, but the suffix must be .sublime-snippet.

Step 5: Create a new page index.html, enter an h in the index, and then press the Tab key, and the code snippets you set will appear.

3. Copy the shortcut keys of the current line

ctrl + shift + D

4. Delete the current line shortcut key

ctrl + shift + K

For details, please see: https://www.cnblogs.com/liutoliu/p/9820953.html

 

 

Guess you like

Origin blog.csdn.net/cherry_vicent/article/details/111768430
Recommended