Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.43 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.43 KB

webstorm-templates

This is just a prove of concept on how to convert Sublime Text Snippets into Webstorm format. This is also a growing collection of some of my custom live templates for Webstorm / IntelliJ IDE.

How to install

In order to build the referenced Sublime Text 2 Snippets you need to have Grunt installed. Once you are ready to go, install dependencies with npm, fetch submodule data and then enter grunt into the command line:

npm install
git submodule update --init --recursive
grunt

This will start converting the referenced Zurb Foundation 5 Sublime Text 2 Snippets to Webstorm/IntelliJ readable format. (yes, it should also be possible to adapt Gruntfile.js to handle multiple different Sublime Text Snippets Sources as well - maybe I will add other Snippets in the future.) Templates will be copied into the build directory.

In order to import those templates into your IDE you need to copy them into your templates directory and restart your IDE.

Where this directory is depends on your platform and IDE version.

Possible places are:

OS X

~/Library/Preferences/Webstorm7/templates/

Ubuntu

~/.IntelliJIdea13/config/templates/

Windows

sorry I don't know yet, as I use Windows only for testing, but it should be somewhere under:

C:\

;)