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.
Summary: | Allow to ignore file errors in parts of a project [because of top level error badges] | ||
---|---|---|---|
Product: | web | Reporter: | oyviste |
Component: | Editing infrastructure | Assignee: | Milutin Kristofic <mkristofic> |
Status: | NEW --- | ||
Severity: | normal | CC: | Daniel_Kukiela, iluvtr, Korinna, leoquijano |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
oyviste
2013-11-25 15:15:25 UTC
definitely not project system code itself. Also not sure if specific project type can influence this. That would be the language support that should either interfere on the specific side of individual errors or on the global level of error propagation Since product has been set to "web": it was not my intention to request this only for web specific file types, if that matters. I merely used those types as an example. I was thinking more in the line of a general mechanism for filtering or stopping error [badge] propagation at configurable paths in a project. I'm pasting in an edited version of my comment about this from https://netbeans.org/bugzilla/show_bug.cgi?id=226954 ... as it applies more directly to this thread (and may help for context). --------- Anyway, IMHO, the addition of a new configuration option, to *compliment* the new "error badge in menu tree" feature may really reduce a lot of ongoing overhead in the issue queues. Perhaps such an option belongs in "Options > Editor > General" or "Options > Editor > Hints" and could be something like: Error Badge Display in Project/File Trees: - Disable - Enable on files - Enable on files and parents recursively Sure, it would be nice if something like this could be configured on a project-by-project and path-by-path basis, or if it could be setup to only apply to various mimetypes, etc., but at the very least having a global option for this would be quite helpful. *** Bug 237706 has been marked as a duplicate of this bug. *** possibility to add a expression to the "dictionary", to not show hints anymore, will be useful for developers that use tags in html. Exemple: <input type="text" id="datai" #{MASK:99/99/9999}> "#{MASK:99/99/9999}" could be added to dictionary to not show hints anymore. Sorry for my english! So another example of the type of situation that this issue is all about: one of our frontend developers decided to start using SASS CSS preprocessor in a project. I don't work on the CSS bits at all, but now Netbeans 8.0.2 wrongly reports parsing errors in some scss files (they do compile just fine with official SASS). So I now have the entire project stamped with "Contains files with errors", even though it does not concern me at all ! Clearly the Netbeans parser for .scss files has issues [1], and as a result I should be able to exclude .scss files from error badge reporting until this is fixed in Netbeans. [1] https://netbeans.org/bugzilla/show_bug.cgi?id=233038 I think simply disabling error badge when the corresponding error is marked as ignored in the specific file is the best solution here. However, I don't see an option to ignore PHP parsing error, only HTML, CSS. |