Home>Article>Web Front-end> How to write code blocks with sublime

How to write code blocks with sublime

一个新手
一个新手 Original
2017-09-11 09:47:03 2463browse

今天在用canvas绘图时,看到有许多相同的代码,就想介绍sublime里面为了加快代码编写,而采用代码片段。
这里只写我了解的。其他需要,请读者自行了解。

打开位置,见下图:

How to write code blocks with sublime

  • 打开页面

    How to write code blocks with sublime

  • 例子

      ${1} 
]]>
cans
下面图片和上面代码块一样的内容,为了说明清楚,加的图片:

How to write code blocks with sublime

How to write code blocks with sublime

  • 保存
    How to write code blocks with sublime

  • 输入快捷键

How to write code blocks with sublime

The above is the detailed content of How to write code blocks with sublime. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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