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: | Add 'Compile Error' Warning before checkin | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | tomzi <tomzi> |
Component: | Code | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | jlahoda, markiewb |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tomzi
2013-03-25 10:07:17 UTC
AFAIK Honza Lahoda did something in this area, maybe he knows more. I unfortunately did not have time to pursue the idea of showing warnings in the commit dialog. Regarding a warning about incompilable source code: makes sense to me. It is not difficult to find out whether something contains an error (org.netbeans.modules.parsing.spi.indexing.ErrorsCache.isInError). There may be some challenges anyway, e.g. finding out the scope on which the check for errors should be performed (the current changes might introduce error in existing files, that are not being committed). Also, a lot of small trouble can be expected (broken caches leading to incorrect warnings about errors, etc.) - but I guess these could sorted out as they would revealed. I don't really know what is actually all included in 'Errors', but for example, things like FindBugs, Checkstyle... should not be included or configurable. It's really most important to not break the compilation of the code for all other team members. |