README.md in sublime_sunippetter-0.0.2 vs README.md in sublime_sunippetter-0.0.3

- old
+ new

@@ -36,55 +36,65 @@ suni init Second, you have to edit Sunippetfile. - # encoding: utf-8 +~~~ruby +# encoding: utf-8 - # set output path. default=current directory - output_path 'C:/Users/user_name/AppData/Roaming/Sublime Text 2/Packages/User' +# set output path. default=current directory +output_path 'C:/Users/user_name/AppData/Roaming/Sublime Text 2/Packages/User' - # set sunippet scope. default=source.ruby - scope "source.ruby" +# set sunippet scope. default=source.ruby +scope "source.ruby" - # if two args method - add :hoge, :args1, :args2 - # if no args method - add :hige +# if two args method +add :hoge, :args1, :args2 +# if no args method +add :hige +~~~ Third, you have to do is execute command suni. suni Result => generate hoge.sublime-snippet, hige.sublime-snippet This Sample Sunppet Contens are ... +~~~xml <snippet> <content><![CDATA[ hoge ${1:args1}, ${2:args2} ]]></content> <tabTrigger>hoge</tabTrigger> <scope>source.ruby</scope> <description>hoge method</description> </snippet> +~~~ And +~~~xml <snippet> <content><![CDATA[ hige ]]></content> <tabTrigger>hige</tabTrigger> <scope>source.ruby</scope> <description>hige method</description> </snippet> +~~~ in 'C:/Users/user_name/AppData/Roaming/Sublime Text 2/Packages/User' directory. ## Use Generated Sunippet <img src="./doc_image/sublime_sunippetter.gif" /> + +## History +* version 0.0.3 : question can use. for ex 'blank?'. +* version 0.0.1 : first release. ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)