Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How sublime3 customizes snippets

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces sublime3 how to customize snippets, has a certain reference value, interested friends can refer to, I hope you read this article after a great harvest, the following let Xiaobian take you to understand.

About Snippets

There is always a lot of repetitive work in the programming process, such as defining a method, debugging code, etc.

snippets are used to solve this part of the work, which can solve a lot of time

How to customize in sublime?

tools->new snippets

new file formats

Required Only two items

1.CDATA[] The ones in brackets are the ones that need to be fixed

2. tab Trigger A string or index of snippets that is called by the TAB key

After writing, save it in (windows)Preferences->Browse Packages directory with the suffix.sublime-snippet.

Content Definition Tips

{Numeric number} gets a TAB placeholder

{1:default} can get a default value

$can get $characters

Thank you for reading this article carefully. I hope that the article "sublime3 how to customize snippets" shared by Xiaobian will help everyone. At the same time, I hope that everyone will support you a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report