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-P
on OS X,Ctrl-Shift-P
on Linux/Windows). ChoosePackage Control: Install Package
and then selectVvPHPDollar
, when the list appears. Package Control will installVvPHPDollar
and 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_sign
field. - For syntax, edit
syntax_list
field.
{
"vv_sign":"vv ",
"syntax_list":[
"PHP"
]
}