Open JamesSwift opened 11 years ago
Thanks. I Hadn't spotted that. Is there any way to automate the integration?
That doesn't work quite how I expected it to. To get my line to line up I need to set the indentation to 1
. If I set it to 0
it appears in the same place as when it is set to 4
.
How exactly is the Indentation used in calculating the offset?
Option "Indent": the number of spaces used for indentation in library jslint.
http://www.jslint.com/lint.html#options (Default 4
)
In what environment do you test?
I'm working in netbeans 7.4 on Ubuntu gnome 13.10. On 31 Oct 2013 04:40, "Stanislav Lomadurov" notifications@github.com wrote:
Option "Indent": the number of spaces used for indentation in library jslint. http://www.jslint.com/lint.html#options (Default 4)
In what environment do you test?
— Reply to this email directly or view it on GitHubhttps://github.com/lomatek/netbeans-jslint/issues/7#issuecomment-27460819 .
I don't found mistakes (latest Linux mint, Netbeans 7.4, gnome) You can give me your settings of Netbeans (export in "Options" dialog)?
Will do, when I'm back home. Its odd behaviour, but I couldn't make up my mind if it was a bug or not. I take it you think it is? On 31 Oct 2013 09:46, "Stanislav Lomadurov" notifications@github.com wrote:
I don't found mistakes (latest Linux mint, Netbeans 7.4, gnome) You can give me your settings of Netbeans (export in "Options" dialog)?
— Reply to this email directly or view it on GitHubhttps://github.com/lomatek/netbeans-jslint/issues/7#issuecomment-27473016 .
Also please install update plugin 1.0.5 http://plugins.netbeans.org/download/plugin/2754
So, now I've upgraded, JSLint gives me an error on every line: use spaces not tabs.
I didn't know JSLint enforced spaces, it never used to. I hate using them, it's just a waste of bandwidth.
Settings: https://drive.google.com/file/d/0B4OvcDwgRpmqSlpoUEcyTTNQYlU/edit?usp=sharing
Look at this https://github.com/douglascrockford/JSLint/pull/138
So, is the behaviour I described earlier considered intended? On 31 Oct 2013 13:58, "Stanislav Lomadurov" notifications@github.com wrote:
Look at this douglascrockford/JSLint#138https://github.com/douglascrockford/JSLint/pull/138
— Reply to this email directly or view it on GitHubhttps://github.com/lomatek/netbeans-jslint/issues/7#issuecomment-27487478 .
When JSLint highlights errors in my code they are always a few columns out. I suspect this might be because my tabs are set to be 8 columns instead of the default 4. If this is the case, is it possible to make JSLint reference the user's setting?
See the screenshot for details (ignore the poor code, I'm in the process of rewriting).