Skip to content
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

Could be possible to disable to show the popup immediately when clicking on a line that has an error? #754

Open
dortamiguel opened this issue Jul 10, 2021 · 2 comments

Comments

@dortamiguel
Copy link

When I click a line that has an error the popup appears immediately and I can't click the code that is underneath and sometimes code that I want to read.

I see there is an option called show_errors, but if I turn it off the highlight of the error disappears so it's hard to tell where it is.

I just use the command "ECC: Show all errors" so for me the popup is redundant, could be possible to have an option called "show_popup_error"?

I will like to turn that one off

@niosus
Copy link
Owner

niosus commented Aug 5, 2021

@ellipticaldoor thanks for this idea. You can still copy the code over, the popup won't interfere with this. We could consider adding such an option but I won't have the time to work on it. I would review a PR with this feature though if you're willing to implement it.

@dortamiguel
Copy link
Author

Ah I see, in the end what worked for me was to disable the function show_popup_if_needed in popup_error_vis.py with an early return.

     def show_popup_if_needed(self, view, row):
+        return
         """Show a popup if it is needed in this row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants