JulianEberius / SublimePythonIDE

ST3 only: A rewrite of SublimeRope for ST3, uses the Rope library to add python completions and refactoring to ST3
GNU General Public License v2.0
267 stars 38 forks source link

Blocks SublimeLinter #70

Closed JBaldachino closed 9 years ago

JBaldachino commented 9 years ago

Once installed, linting seems to be taken over by SublimePythonIDE even though I had a previously installed and used SublimeLinter or this purpose.

Turning lint off in the SublimePythonIDE settings via the flag

{"python_linting": false}

does not re-allow SublimeLinter to work.

This would be all right as both are using the same lint engine, but SublimeLinter has those nice pop-ups I like, and SublimePythonIDE's lint does not!

os: Linux Mint 16 Sublime 3 Build 3059

JulianEberius commented 9 years ago

Hi,

Just to clarify: after changing the setting, does SublimePythonIDE stop its own linting and SublimeLinter does not take over, or does SublimePythonIDE not even stop with its own linting? Notice that you will have to reopen views as the highlights stick around after disabling the linting in SublimePythonIDE.

And which linting plugin do you use for SublimeLinter?

JulianEberius commented 9 years ago

Some more comments:

I just tried to make SublimeLinter and SublimePythonIDE work together and had no problems. Are you sure that you have installed a linting plugin for SublimeLinter (e.g. flake8), both the linter itself via pip and the corresponding plugin for SublimeLinter (yes a plugin for a plugin)? For me it worked with flake8 and the flake8 plugin for SublimeLinter.

JBaldachino commented 9 years ago

Here was the play-by-play:

  1. I have had SublimeLinter installed for some time, and have been using it successfully to lint. I had some configurations, etc.
  2. I installed SublimePythonIDE. First thing I noticed was it took over my lint. Rather than the little pop-up menus that appeared when I had violations, the outlines SublimePythonIDE uses show up.
  3. Desiring the previous behavior (SublimeLinter's), I added {"python_linting": false} to my user settings for SublimePythonIDE. After this, I had no lint at all.

All that said, I just re-disabled SublimeIDE's lint and, lo & behold, SublimeLinter took over and is working as expected. or

The only thing I can think of is perhaps I didn't do a full restart of Sublime after installing IDE and something didn't refresh properly; or perhaps something crashed in the background. I could have sworn I tested a few different things to get it all to work, but apparently not!

Oh and, just to answer your question, I am using SublimeLinter-flake8.

I'll close this, thanks for the quick response and your work on the plugin, I'm enjoying it so far.