Skip to content

Commit

Permalink
update readme, add preview gif
Browse files Browse the repository at this point in the history
  • Loading branch information
凌云 committed Aug 28, 2017
1 parent dea4e48 commit c90ce77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Cocos-Creator-Snippet
Cocos-Creator-Snippet is a snippet for the game engine cocos creator.


![new_file](https://github.com/lyzz0612/Cocos-Creator-Snippet/raw/master/docs/new_file.gif)
![coding](https://github.com/lyzz0612/Cocos-Creator-Snippet/raw/master/docs/coding.gif)


1. The snippets of Creator is generated according to the file ```creator.d.ts``` in a creator project. Current creator version is 1.3.0
2. When you save a js file in sublime, the plugin will analyse its structure and convert functions and variables to snippet. the new snippets is saved in ```packageFolder/User/QuickXJs.cache/```
3. right click on the left folder, and choose ```Rebuild js User Definition```, the plugin will analyse all js file in this folder and create snippets.
Expand Down
Binary file added docs/coding.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/new_file.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c90ce77

Please sign in to comment.