-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't open the output pane when sorting imports on save fails #2522
Comments
Can you verify this, @DonJayamanne ? |
Please could you provide a copy of the django migrations file. |
@DonJayamanne This should already do the job for me. Just an empty migration. # -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-09-10 07:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
] After some testing I did this weekend. The error that causes the output pane to be opened is the same as #2435 This also happens when I have the following in my settings.
So I know for a fact that isort is causing the issue. But again it would be nice if it would only show the error notification and not show the output pane. Because the isort function is a really nice one and only the notification message should be enough. |
Agreed, will disable showing the output panel. After all an error message (popup) is displayed. Solution - Remove the following line: |
As per @DonJayamanne's suggestion in the conversation for issue #2522. I've been patching this locally for the past few months, so thought I should probably feed it back up. Fixes #2522
When I have my terminal open and I edit a file where I get a linting error (always happens for Django migrations) it jumps from my terminal to the output pane. This is really annoying behavior especially if you want to use the terminal again.
Environment data
Actual behavior
When a linting error pops up, it opens the output pane. It does not matter if the bottom pane is open or not.
Expected behavior
It only shows the notification message and does not open the output pane.
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: