Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy Filipyev committed Jul 31, 2015
1 parent 2c5d2ce commit 44436d8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Other/Yu.sublime-snippet → Other/user.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<content><![CDATA[
Yii::\$app->user->$1
]]></content>
<tabTrigger>U</tabTrigger>
<tabTrigger>Yu</tabTrigger>
<scope>source.php</scope>
<description>Yii2 - Yii::\$app->user</description>
</snippet>
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Useful Yii2 snippets for [Sublime text](https://sublimetext.com)
- [Request](#request)
- [User](#user)
- [Session](#session)
- [Other useful snippets](#other-useful-snippets)
- [Todos](#todos)
- [License](#license)
- [PS](#ps)
Expand Down Expand Up @@ -295,6 +296,19 @@ There are several methods to install package.
| offsetUnset | Sou |


### Other useful snippets

| Method | Snippet code |
|--------------------------------- | :----------: |
| user | Yu |
| controller | Yc |
| action | Ya |
| registerJs | Yrj |
| registerJsFile | Yrjf |
| registerCss | Yrc |
| registerCssFile | Yrcf |


### Todos

- Improve shortcuts
Expand Down

0 comments on commit 44436d8

Please sign in to comment.