Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hjzheng/sublime-snippet-collect

收集Sublime代码片段(Snippet)
https://github.com/hjzheng/sublime-snippet-collect

Last synced: 27 days ago
JSON representation

收集Sublime代码片段(Snippet)

Awesome Lists containing this project

README

        

### Sublime Snippet Collect

Sublime Snippet是一个非常有用的功能,将经常使用的代码保存起来,通过插件的方式来调用,不仅可以大大提高我们的编码效率,还可以保持代码风格的统一。

下面是一些常用的代码片段收集(欢迎大家pull request)

#### 语言

##### JavaScript
- [JavaScript Snippet](https://packagecontrol.io/packages/JavaScript%20Snippets)
- [JavaScript Patterns](https://packagecontrol.io/packages/JavaScript%20Patterns)
- [Nodejs](https://packagecontrol.io/packages/Nodejs)

##### HTML
- 建议使用[Emmet](https://packagecontrol.io/packages/Emmet) [Emmet文档](http://docs.emmet.io/cheat-sheet/)

##### CSS
- 建议使用[Emmet](https://packagecontrol.io/packages/Emmet) [Emmet文档](http://docs.emmet.io/cheat-sheet/)

#### 框架和库

##### AngularJS
- [AngularJS Snippets](https://packagecontrol.io/packages/AngularJS%20Snippets)
- [Johnpapa Angular-Styleguide Snippets](https://github.com/johnpapa/angular-styleguide/tree/master/assets/sublime-angular-snippets)
- [Angular UI AngularJS Sublime Package](https://github.com/angular-ui/AngularJS-sublime-package)

##### JQuery
- [jQuery Snippets Pack](https://packagecontrol.io/packages/jQuery%20Snippets%20pack)

##### Bootstrap3
- [Bootstrap 3 Snippets](https://packagecontrol.io/packages/Bootstrap%203%20Snippets)

#### 如何定义自己的Snippet
- [Working with Code Snippets in Sublime Text](http://www.hongkiat.com/blog/sublime-code-snippets/)

#### 建议
- 选择适合自己的代码片段插件,够用就行。
- 在实践中总结出自己的一套片段,推广到团队中。

#### [Sublime相关资料](https://github.com/hjzheng/CUF_meeting_knowledge_share/issues/18)