-
Notifications
You must be signed in to change notification settings - Fork 259
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
Show error information when hovering over line #862
Comments
Kyu
added a commit
to Kyu/anaconda
that referenced
this issue
May 28, 2020
* Created new files: templates/tooltops/error_warning.tpl and templates/tooltips/error_warning_helper.tpl * Created new Class TooltipHelper in anaconda_lib/tooltips.py * Created new function get_specific_lineo_msgs in anaconda_lib/linting/sublime.py * Modified css/popup.css to add linting message color codes. * Cleaned up listeners/linting.py, added css viewing using tooltips.py
Kyu
added a commit
to Kyu/anaconda
that referenced
this issue
May 28, 2020
* Created new files: templates/tooltops/error_warning.tpl and templates/tooltips/error_warning_helper.tpl * Created new Class TooltipHelper in anaconda_lib/tooltips.py * Created new function get_specific_lineo_msgs in anaconda_lib/linting/sublime.py * Modified css/popup.css to add linting message color codes. * Cleaned up listeners/linting.py, added css viewing using tooltips.py
Kyu
added a commit
to Kyu/anaconda
that referenced
this issue
May 28, 2020
* Created new files: templates/tooltops/error_warning.tpl and templates/tooltips/error_warning_helper.tpl * Created new Class TooltipHelper in anaconda_lib/tooltips.py * Created new function get_specific_lineo_msgs in anaconda_lib/linting/sublime.py * Modified css/popup.css to add linting message color codes. * Modified Tooltip.show_tooltip in anaconda_lib/tooltips.py to add optional **kwargs for popup * Cleaned up listeners/linting.py, added css viewing using tooltips.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wanted Behaviour
An option to allow tooltips to display error information on hover. e.g like it does for function definitions
Also referenced in #688 #752
Actual Behaviour
I either have to enable phantoms, or click the offending line and check the status bar for error info.
Steps to Reproduce
Enter syntax incorrect python code into the window with "anaconda_linter_phantoms" set to true. (side note, phantoms don't disappear when you set them to false, I have to restart sublime)
ST3, Anaconda and OS versions
3.2.2 Build 3211. Anaconda 2.1.36, Windows 10 64-bit
ST3 Console Logs
Anaconda's JsonServer Logs
Note: Anaconda's JsonServer logs can be found in:
Making this issue because the Readme said to make an issue before making a PR. I'd also like to work on a PR for this issue.
The text was updated successfully, but these errors were encountered: