Version 6.8.4 breaks JSLint plugin
Anyone been able to find a workaround?
Reinstalling 6.8.3 fixed my FunctionList - can’t work without it.
The last update to JSLint was in December 2013, I doubt the author will address these “underlying changes” in Notepad++ anytime soon.
JSLint will hardly be the only plugin that breaks in this sense. Is there really no way Notepad++ could support the “legacy way”, whatever that may be, of getting the current file type?
Work-around when all else fails:
- Install NPPExex plugin in the Plugin Manager.
Is there really no way Notepad++ could support the “legacy way”, whatever that may be, of getting the current file type?
That’s not a half bad idea, although I don’t know enough about the changes to know if that is possible.
Legacy compliance tend to build up a technical debt, but if it would be possible to implement some sort of legacy fallback for a limited time only in all bu the release candidates (e.g. only for the auto-update versions), if can then safely be removed later on, say in six months or a years time. The plugins that are still up to to the task will break, but with a reasonable delay.
Even if some backwards compatibility was put in place, it just pushes the problem down the road some to either wait for the author to update it (which according to you probably won’t happen), or inform thousands of users it will break eventually (which will never happen). It would have been nice if this kind of change was made to a major N++ update, for example v6.7.x to v6.8, not a minor update which was v6.8.3 to v6.8.4.
But I do totally agree with you that it would have been nice to inform plugin developers of the changes going to be made or to temporarily have some backwards compatibility in place for a while. But what’s done is done I guess…
Honestly, if JSLint is easy to build from source, it probably wouldn’t be more than a few lines that need changed. I may look into it if I have some free time.
Perhaps that’s what’s confusing plugins?
I may look into it if I have some free time.
Nice of you to give it a try, @dail.
I should think there is a window op opportunity to set up an all new plugin for linting. ;)
May I suggest the JSLint plugin version (currently at V0.8.117) is downgraded from Stability “Good” to “Poor - No support for Notepad++ V6.8.4 and newer”?
Note that there is a work-around: Selecting CSS from the Language menu.
Perhaps Stability should rather be “Poor - Limited support for Notepad++ V6.8.4 and newer”?
After installing Version 0.8.3 over the one installed by the PluginManager everything works fine for me. I downloaded it from sourceforge: https://sourceforge.net/projects/jslintnpp/
@Manuel-Lemcke it was promising that a new version was released, but unfortunately it fails on any JSLint option and there have been no updates since. Version 0.8.1.117 distributed with Notepad++ is still the better option.
I advice against Notepad++ distributing 0.8.3.