Sublime Text 2 For PHP Development: Real-Time Syntax Checking Using SublimeLinter

preview_player
Показать описание
A short demonstration of using the SublimeLinter plugin to check my code for syntax errors as I type, something I do regularly with Sublime Text 2 for PHP development.

Рекомендации по теме
Комментарии
Автор

I can't find the syntax highlighter theme you're using... would you mind providing a link? Also to the Windows program you used to make your PC look more like a OSx, looks great!

UnfilteredWP
Автор

I had similar issues, but it was not sublimelinter at fault. I had downloaded HTML5 package, and it was throwing sublime text 2 into HTML5 syntax mode, which sublimelinter doesn't work on apparently. To fix this, I edited the HTML5 package Syntaxes/HTML 5.tmLanguage file and commented out .php and phtml, and it works now.

grymmjack
Автор

Also I made sure PHP was in my path, and didn't override any executable_map stuff. Hope this helps.

grymmjack
Автор

There is a extra configuration, got to Preferences -> SublimeLinter -> Settings - Default and look for: { "php":"C:\ \ php \ \ php.exe" }

Make sure to escape any characters with a backslash, such as backslash itself (\). php is my default directory for php binaries, the close and open again the program, good luck.

ljpalmer
Автор

The most important step of installing the plugin was not shown in the video? It jumps from why it should be installed to look what it does. What happen?

ReynosoEsq
Автор

ljpalmer85 and skeekster

Thank you very much for your tips... without them i will be sucked forever trying to get this work ;)

For the author of the video my congratulations for all your videos and my disappointing for not responding to the questions that ware asked before. Because of this i will not give a like to this video.

paulorenatoguilhermesilva
Автор

i can get " SublimeLinter: php enabled (using "C:\xampp\php\php.exe" for executable) " in the terminal window messages in ST2, but no linting...

ulfgj
Автор

Is that the NetBeans syntax highlighting theme? What are you using on Windows to make it look like Mac?

UnfilteredWP
Автор

Same. I can't seem to get the linter to work on my Sublime. Feel like it's simple, but I can't get it. Any suggestions?

NeigerLeLoup
Автор

I installed it with control package but it doesn't work. Do i need to write something in the settings or it's supposed to work right after installed ?

AntoineBoulanger
Автор

aargh. can't get none of them to work. what's their state today (2013)?

ulfgj
Автор

Install the plugin using Package Control.

StuartHerbert
Автор

Do I need to install PHP on my computer ?

MundodelChef
Автор

Thanks for your time, but you do not need to listen to swallowing saliva, hint ... distancing to speak into the microphone ...

trmpereira
visit shbcf.ru