is there a plugin for notepad++ that allows for files to be run through a compiler for simple syntax checking? such as to catch missing ; or or non-matching brace counts, etc.?
Asked
Active
Viewed 5,414 times
2 Answers
8
Not tested myself, but you should be able to do this with the Run Command (F5) and a windows binary of PHP.
The command you most likely would want is as follows:
cmd /K c:\path\to\php.exe -l $(FULL_CURRENT_PATH)

Ben
- 3,922
- 1
- 22
- 21
0
I don't think so. Use Netbeans PHP. It's great. I haven't looked back since I switched to it

Adam Lynch
- 3,341
- 5
- 36
- 66
-
2Netbeans is nice, and I use it for java, but it takes forever to startup, and with php I usually edit multiple files sid-by-side in in npp. – Dexter Apr 29 '11 at 22:25
-
Well if you get Netbeans PHP (not the full Netbeans including the PHP package) it's a lot faster but will never be as fast as n++. But what do you expect? You can't have live compiling/error reporting without compromising some speed/fluency. I think it's worth it – Adam Lynch Apr 30 '11 at 13:11
-
Interesting. I find Netbeans with PHP package blazing fast for file editing. Working with projects depending on size slows down things a bit. It has some cool code selecting features notepad++ does not have like ctrl+. on a string will start selecting section of code outward - very useful – marcin_koss Mar 17 '12 at 04:00