pylint-pycharm icon indicating copy to clipboard operation
pylint-pycharm copied to clipboard

Display warning ID and "textual form"

Open stdedos opened this issue 2 years ago • 3 comments

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.

stdedos avatar Jul 04 '22 06:07 stdedos

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.

stefan6419846 avatar Aug 18 '22 10:08 stefan6419846

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.

stdedos avatar Aug 18 '22 14:08 stdedos

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.

stefaneidelloth avatar Feb 15 '23 13:02 stefaneidelloth