Sublime Text Plugin for a convenient way to insert PHP Dollar.
- Sublime Text 2
- Sublime Text 3
- Install Package Control. Once installed, fire up the Command Palette (
Command-Shift-Pon OS X,Ctrl-Shift-Pon Linux/Windows). ChoosePackage Control: Install Packageand then selectVvPHPDollar, when the list appears. Package Control will installVvPHPDollarand keep it be last version automatically . - Download plugin's zip file from here Github to your local laptop. Once downloaded, put unzip it, then open your
Sublime Text 2 or 3, open your menu:Preferences-->Browse Packages..., then put the unzip folder into this folder.
- When you edit the file(i.e.
PHP), when you need to put a$sign, you just need to input placeholder(i.e.vv, note: here is a space aftervv), the plugin will replace this placeholder by PHP Dollar$sign.
Edit VvPhpDollar.sublime-settings file
- For placeholder, edit
vv_signfield. - For syntax, edit
syntax_listfield.
{
"vv_sign":"vv ",
"syntax_list":[
"PHP"
]
}