Home  >  Article  >  Development Tools  >  How Sublime implements quick encapsulation of code blocks

How Sublime implements quick encapsulation of code blocks

藏色散人
藏色散人forward
2019-10-22 14:06:253566browse

The following column sublime introductory tutorial will introduce you to the quick method of encapsulating code blocks in Sublime text. I hope it will be helpful to friends in need!

How Sublime implements quick encapsulation of code blocks

Sublime implements quick and easy encapsulation of code blocks.

First: Copy the code block to be encapsulated, such as the following code.

How Sublime implements quick encapsulation of code blocks

Second: Find "New Code Block" in the tool.

How Sublime implements quick encapsulation of code blocks

How Sublime implements quick encapsulation of code blocks

Related recommendations: "sublime text" tutorial

Third: Paste the required code snippets. If there is $, you need to add "" in front.

How Sublime implements quick encapsulation of code blocks

Fourth: Save. Has been completed. .

How Sublime implements quick encapsulation of code blocks

Fifth: Use.

How Sublime implements quick encapsulation of code blocks

The above is the detailed content of How Sublime implements quick encapsulation of code blocks. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete