ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Shen​Ma

by molee1905 ST3 Mac

No description provided

Details

Installs

  • Total 30
  • Win 0
  • Mac 30
  • Linux 0
Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ShenMa for Sublime Text 3

A plugin for shenma

Intro

It's a plugin to create projects skeleton based on defined scaffolds. Through this plugin, for example when you input test, it will generates folders(black) and files(italic) like below: * test - css - sc_advanced_test.scss - data - img - js - sc_test.js - res - tmpl - index.html - README.md

the folders mentioned just now will be appeared in your input path (e.g. /Users/jack/test/sc/shortcuts/), and the test is called sc name, the destination of the folder is called sc path

Usage

There are two ways leading you to create a new sc from st3: * Command Palette

1. press `shift+cmd+p` 

2. type `create sc`, and choose the command to create sc
  • Use Shortcut
1. press `ctrl+cmd+n` to create sc

then, you will be required to input sc name from the the input panel at the bottom of sublime, for the first time when you use, you will be required to input sc path too.

please input shortcut path: /Users/jack/test/sc/shortcuts/

please input sc name: test


This plugin also add a command to create eslint.sublimt-build to fix your javascript, just presscmd+b

of couse, first of all, you should make sure eslint has been installed, and eslint path is in ShenMa.sublime-settings which finally looks like below:

(Preferences->Package Settings->ShenMa->Settings-User)

{
    "shortcuts": "/Users/jack/test/sc/shortcuts"
  }

Tips: for now, this plugin only works on st3 and OS X

License

MIT