This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 188544 - line-by-line muting of reported errors (when no error exists)
Summary: line-by-line muting of reported errors (when no error exists)
Status: CLOSED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 13:59 UTC by edgimar
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edgimar 2010-07-09 13:59:28 UTC
It should be possible for one to add a special comment at the end of a line which disables error checking for that line.

As an example of where this is helpful, the following python code-snippet shows up as having an error (on the first return line), when in fact it does not:

    def amethod(self):       
        deltas=(0,6,12,18,24)
        def sgen(*endpoints):
            endpoints = [pt-18 for pt in endpoints]
            return somefunc(*endpoints, deltas=deltas)
        
        return self.othermethod(sgen)


The bottom line is that there will always be room for bugs in the error-parsing code, so when a human knows better than the parser, s/he should be able to tell it to shut up.
Comment 1 Jenselme 2017-06-22 22:11:14 UTC
Possible in the next release planned for August. Closing this.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:12 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.