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

Display warning ID and "textual form" #92

Open
stdedos opened this issue Jul 4, 2022 · 3 comments
Open

Display warning ID and "textual form" #92

stdedos opened this issue Jul 4, 2022 · 3 comments

Comments

@stdedos
Copy link

stdedos commented Jul 4, 2022

Is your feature request related to a problem? Please describe.
When I see an error I'd like to ignore, I'd love it if the plugin would provide the warning ID (for easier searching online), and the textual form of it (for more meaningful # pylint: disable= comments)

Describe the solution you'd like
ofc, I'd like the plugin to offer auto-fixes when they exist (but maybe pylint doesn't have such functionality); which would also include the "ignore line" action too

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@stefan6419846
Copy link

I am not aware of any auto-fixing behavior bundled within pylint, but the plugin might be able to propose disabling entry for the offending line at least. Nevertheless, this seems to be another issue/feature request which is not reflected by the title or this issue.

pylint-pycharm already displays the (descriptive) error symbol when you explicitly run the corresponding action (see the screenshot at https://github.com/leinardi/pylint-pycharm/blob/master/art/pylint-pycharm.png) - it just omits the shorter message IDs. Nevertheless, both are missing inside the annotations inside the editor for now, although it is rather straightforward to include them there.

@stdedos
Copy link
Author

stdedos commented Aug 18, 2022

Nevertheless, this seems to be another issue/feature request which is not reflected by the title or this issue.

Some maintainers opt to obsolete feature requests based on the X-Y problem.
I want both IDs displayed but my originating issue is quick-action-disable.

@stefaneidelloth
Copy link

stefaneidelloth commented Feb 15, 2023

Related SO question:

https://stackoverflow.com/questions/75460392/how-to-show-pylint-message-codes-in-pycharm-problems-view-and-get-quick-fix

pylint-pycharm already displays the (descriptive) error symbol when you explicitly run the corresponding action (see the screenshot at https://github.com/leinardi/pylint-pycharm/blob/master/art/pylint-pycharm.png)

image

@stefan6419846:

Does this require the full version of PyCharm or should it work with the Community Edition, too? Is there some setting etc. to enable display of message ids/codes in the problem view?

I use PyCharm Community edition and PyLint Plugin version 0.14.0 and don't see the ids:

image

Edit:

AHH... never mind. The extra PyLint view provides the ids after an extra run, while the standard PyCharm Problem view doesn't.

=> Would be great If the plugin could adapt the messages for the standard Problem view to include the ids, too.

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

No branches or pull requests

3 participants