Good idea, IMHO underlines are not too distracting.
SublimeLinter
Most of those errors are PEP8 errors, which you can ignore with the pep8_ignore setting.
The problem with hiding outlines is that some linters donât underline at all because they donât give character position information. You can also hide outlines by setting the outline color in the color theme to the background color of the window, which will effectively hide them.
Did anyone ever figure out how to get this to work on Windows 7 64-bit? I installed WAMP and my SublimeLinter.sublime-settings looks like this:
"sublimelinter_executable_map":
{
"php": "c:/wamp/bin/php/php5.3.8/php"
},
But it still says PHP is not found (and thatâs the correct directory path). Sublime Text 2 beta 2181. Thanks
The SublimeLinter prefs moved from Base File.sublime-settings to SublimeLinter.sublime-settings. Use Package Control to update to the latest version (v1.5.5), and select Preferences->Package Settings->SublimeLinter->Change log. There are instructions there on how to migrate your settings.
Thanks for the reply aparajita, but I did a totally fresh install and the php setting I mentioned is in SublimeLinter.sublime-settings. Thatâs the only setting Iâve changed in SublimeLinter. Everyone else in the office has had the same results. Donât know what else weâre missing
great plugin
i want to turn off smarttabs or âmixed space with tabsâ warnings, how can i do that?
Which SublimeLinter.sublime-settings? You should only be editing the one reached via Preferences->Package Settings->SublimeLinter->Settings - User.
[quote=âManFromEarthâ]great plugin
i want to turn off smarttabs or âmixed space with tabsâ warnings, how can i do that?[/quote]
Thanks. SublimeLinter supports a dozen languages. I canât magically figure out which one you are talking about.
[quote=âaparajitaâ]
[quote=âManFromEarthâ]great plugin
i want to turn off smarttabs or âmixed space with tabsâ warnings, how can i do that?[/quote]
Thanks. SublimeLinter supports a dozen languages. I canât magically figure out which one you are talking about.[/quote]
JavaScript ;p
@ManFromEarth: Open the SublimeLinter User settings file (Preferences > Package Settings > SublimeLinter > Settings - User) and set the âsmarttabsâ jshint setting to true.
If you have nothing in there to start with, that looks like this:
{
"jshint_options":
{
"smarttabs": true
}
}
This and other jshint options are documented on jshint.com/options/.
The README file (Preferences > Package Settings > SublimeLinter > README) is worth a look.
Thanks for a great plugin!
[quote=âlukasbobâ]@ManFromEarth: Open the SublimeLinter User settings file (Preferences > Package Settings > SublimeLinter > Settings - User) and set the âsmarttabsâ jshint setting to true.
If you have nothing in there to start with, that looks like this:
{
"jshint_options":
{
"smarttabs": true
}
}
This and other jshint options are documented on jshint.com/options/.
The README file (Preferences > Package Settings > SublimeLinter > README) is worth a look.
Thanks for a great plugin![/quote]
i tryed that longtime ago ;\ i was writing that to base sublimelinter.sublime-settings and setting smarttabs to false(i want to turn it off), but it doesnt work ;\ tryed ur way with user settings, still doesnt work
âevilâ: true,
âregexdashâ: true,
âbrowserâ: true,
âwshâ: true,
âtrailingâ: false,
âsubâ: true
we can change these rules, but cant add new?
NEVER edit the default SublimeLinter.sublime-settings, that gets overwritten when SublimeLinter is updated.
Settings in SublimeLinter are not merged on a per-item basis. If you override or add anything in a setting, you have to copy all of the settings to your user settings. So you canât just add or change one jshint option, you have to include ALL of them. Hope this makes it clear.
- Aparajita
Thanks Aparajita, got it working now, I guess I was updating the default and not the user linter settings.
[quote=âaparajitaâ]NEVER edit the default SublimeLinter.sublime-settings, that gets overwritten when SublimeLinter is updated.
Settings in SublimeLinter are not merged on a per-item basis. If you override or add anything in a setting, you have to copy all of the settings to your user settings. So you canât just add or change one jshint option, you have to include ALL of them. Hope this makes it clear.
- Aparajita[/quote]
thx for info, but smarttabs option doesnt exist hereâŚwhen i add it, it doesnt work, i want to turn off âmixed spaces and tabsâ warnings in jshint
I am very confused⌠I have installed Sublime Linter and followed all the setup instructions I could find, but I see absolutely no indication of it working at all. If I invoke the command palette see the option to âexport annotationsâ which takes all my comments and puts them in a new file⌠but I have seen no evidence whatsoever of any error detection.
I installed node.js, but I keep getting the message âSublimeLinter: javascript disabled (One of the following Javascript engines must be installed: node.js, JavaScriptCore)â Does it have to be running? (Iâm getting the same error for CSS).
For PHP Iâm getting the error âSublimeLinter: php disabled (âphpâ cannot be found)â. I donât know how Iâm supposed to go about installing PHP. Iâm working on a local apache server, I donât have php installed on my machine and wouldnât know how to get itâŚ
I am working in PHP, JS, HTML and CSS, which I was under the impression were built-in. Iâm not amazing with this kind of thing, so Iâm not sure what âgetting PHPâ or âhaving Nodeâ entails exactly. (on a 64-bit windows machine)
Hello,
this plugin is really really nice but I have some trouble to edit settings about javascript.
Firstly, I dont know how to discover what js linter engine is used by default⌠Is there a javascript command about it?
BTW I try âjshint_options.eqeqeqâ: false, with [jshint] replaced by other engine, or [eqeqeq] with âeqeqâ and another option (âeqnullâ) but I never success to hide warning about comparison operator (== in place of ===).
What I do wrong?
Edit:
- it looks like (following default data) that my linter is jshint.
- I also override some CSS options and options for both css and js are not taken. Other option in my sublimelinter settings (= in user) are correctly working (ex: âsublimelinter_notesâ: true //highlight annotations like TODO/README
I have terrible problems with SublimeLinter ST3 on Ubuntu.
After opening ST3 everything is loading nicely and I see a messages about it in ST console
but in:
-HTML I have and error SublimeLinter: html disabled (Type str doesnât support the buffer API)
-CSS/JS SublimeLinter: css/js enabled (using node.js) but ST3 is crashed and I have to Force Quit
-COFFEE SublimeLinter: coffeescript enabled (using âcoffeeâ for executable ) ST3 also crashed
Iâve installed tidy for html5 and it is working. The newest node.js I have also installed.
Hi,
i just read the good Ruby coding style guide:
github.com/bbatsov/ruby-style-guide
and the author also working on a ruby gem ârubocopâ to check the code style of your ruby code:
github.com/bbatsov/rubocop
i looks good, so iâm wondering is it possible, you know, make sublimielinter to support this linter?
thanks