Home Download Buy Blog Forum Support

AutoPHPDollar-type var name without $,and this plugin add it

AutoPHPDollar-type var name without $,and this plugin add it

Postby graarh on Tue Jul 24, 2012 7:10 pm

Hi, i wrote this plugin for myself. But it can be useful for other PHP developers.
You should type $ before any variable name in PHP, this is really annoying cause shift+4 combination is far away from keyboard midline.
With this plugin, you can type only variable name, and it adds "missing" $ sign.

You can get it here: https://github.com/graarh/sublime-AutoPHPDollar
graarh
 
Posts: 2
Joined: Tue Jul 24, 2012 6:58 pm

Re: AutoPHPDollar-type var name without $,and this plugin add it

Postby bafxyz on Sun Aug 05, 2012 3:23 pm

I create php variable and plugin doesn't add $ character. How to use it? Thx
bafxyz
 
Posts: 1
Joined: Sun Aug 05, 2012 3:19 pm

Re: AutoPHPDollar-type var name without $,and this plugin add it

Postby graarh on Mon Aug 13, 2012 5:23 am

Check that your current file syntax is set to PHP in sublime.

This plugin adds $ sign if the variable name has been used already.
Also it adds $ if variable followed by "=", and few other cases, you can check the config file for it.
graarh
 
Posts: 2
Joined: Tue Jul 24, 2012 6:58 pm

Re: AutoPHPDollar-type var name without $,and this plugin add it

Postby k1ng440 on Thu Feb 14, 2013 7:23 pm

this plugin is really useless. it does not even allow me to write texts in quotes

$blah = "this is bad" becomes $blah = "$this is bad"
k1ng440
 
Posts: 3
Joined: Thu Feb 07, 2013 8:42 am


Return to Plugin Announcements

Who is online

Users browsing this forum: Exabot [Bot] and 6 guests