Addition:
Based on next post, I’ve solved it!!
The path was a red herring. The issue was that somehow, my php files are classified as “html5”, not “php”. When I manually change the syntax to “php”, sublimelinter works!
For those that run into this problem:
a) open one of your php files
b) note in the lower right, it says “html5”, not “php”
c) left-click on that “html5”, and at the top, choose “Open all with current extension as…”
d) choose php
Thanks
Heya,
I’m not able to get sublimelinter to work. I’m on Windows 7 with the latest beta Sublime Text (2172).
I’m not sure exactly what “working” means since I haven’t seen SublimeLinter in action, but “not working” means: I’ve tried typing junk in the source file thinking something would pop up (nothing did), tried pressing ctrl-alt-l, nothing happens. I’ve done ctrl-shift-p and entered “lint”, but the only entry I see is “Sublime Linter: Extract Notations”. I choose that and a new empty file pops up named “Annotations from file.php”. But no lint output.
My User/Base File.sublime-settings contains:
"sublimelinter_executable_map":
{
"php": "c:/wamp/bin/php/php5.3.8/php"
},
I’ve also tried c:\wamp\bin\php\php5.3.8\php", tried with single 's, tried with “php.exe”, tried upper/lower case drive c.
I’ve tried all the previous suggestions in this thread.
My console output is below. Any help appreciated; this sure sounds cool.
Thanks,
Bill
startup, version: 2172 windows x64 channel: dev
executable: /C/Program Files/Sublime Text 2/sublime_text.exe
working dir: /C/wamp/www/opttown
packages path: /C/Users/Bill/AppData/Roaming/Sublime Text 2/Packages
settings path: /C/Users/Bill/AppData/Roaming/Sublime Text 2/Settings
error parsing session: No data at: 0:0
package /C/Program Files/Sublime Text 2/Pristine Packages/ActionScript.sublime-package is newer than the installed version (/C/Users/Bill/AppData/Roaming/Sublime Text 2/Pristine Packages/ActionScript.sublime-package), running PackageSetup
PackageSetup returned: -1
catalogue loaded
found 8 files for base name Default.sublime-keymap
found 2 files for base name Default.sublime-mousemap
found 6 files for base name Main.sublime-menu
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\font.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Git\git.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\SublimeCodeIntel\SublimeCodeIntel.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\SublimeLinter\SublimeLinter.py
SublimeLinter: coffeescript loaded
SublimeLinter: java loaded
SublimeLinter: JavaScript loaded
SublimeLinter: annotations loaded
SublimeLinter: Objective-J loaded
SublimeLinter: perl loaded
SublimeLinter: php loaded
SublimeLinter: python loaded
SublimeLinter: ruby loaded
SublimeLinter: pylint loaded
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\SublimeTODO\todo.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\SublimeTagmatcher\Elements.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\SublimeTagmatcher\SublimeTagmatcher.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\Tortoise\Tortoise.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\dynamicsnippets.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\sublimezen.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\sublimezenplugin.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\zenmeta.py
Reloading plugin C:\Users\Bill\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\zentrackers.py
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 0.734349
wrote startup cache, added files: 1 orphaned files: 0 total files: 109 cache hits: 108
startup time: 1.18203 (package setup was run)
loaded 1111 snippets
Package Control: Skipping automatic upgrade, last run at 2012-01-30 16:09:04, next run at 2012-01-30 17:09:04 or after