I really like Sublime Text 2, or maybe the idea of it. I was persuaded to use the program, but it’s difficult to get what I want done. I’m not afraid to admit I currently use Dreamweaver (DW), but ONLY for the code editing. Literally, I use it nothing but for a text editor. Any other feature of that software is garbage to me (at least I don’t use it). HOWEVER, there are a few things that are hard in transitioning to ST2. I already have DW, and don’t mind spending $40, but I always end up going back to DW because of a few simple things.
I am using the Windows 64bit version. I would like to:
-
Know how to have REAL TIME syntax checking. In DW, basic PHP syntax (and other languages, including JS) worked flawlessly as I typed. Things like missing a bracket, or just simple string concatenation. if I type echo ‘hello world’$myvar; it would immediately tell me (once I stopped typing) that there was a syntax error. I might add that I’ve tried various syntax plugins, and I have not gotten any to work.
-
When I am using Sublime, when I open a bracket or parenthesis ( it automatically closes it for me (well, it provides the closing bracket/parenthesis, and leaves the cursor between the brackets/parenthesis)… The problem is, if I am typing $var = $_POST’var’]; it leaves me in the awkward position of having to use the arrow to move over and then place the semi-colon. Is there a way to prevent this, or maybe get it to close off the statement for me with ; ? Maybe something I am missing?
These are just two items. I am not sure the response I will get, but I am interested in these two items.