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: | Need a handle to the code that parses the compiled output and feeds the output window | ||
---|---|---|---|
Product: | cnd | Reporter: | Chihin Ko <chihinko> |
Component: | Project | Assignee: | issues@cnd <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | common_debugger, ivan |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Chihin Ko
2006-11-08 22:21:00 UTC
I need similar, though a bit different thing. It is connected with Syntax Error Highlighting (the feature that is planned for 6.1 and is now prototyped). It launches compiler in background, parses its output and creates annotations. Now, in prototype, it does its own, very primitive, parsing. This is obviously; code that parses compiler should be shared. Reassigning to Andrew. He is working on thisnow. NB 6.8 extends tool collection description. Now it is possible to write own output parser. To do this you should - define service org.netbeans.modules.cnd.execution.ErrorParserProvider - use service in tool collection scanner For example see SunStudio tool collection description (SunStudio.xml). It contains scanner description: <scanner id="SunStudio"> Scanner points on predefined service ErrorParserProvider implementation with id "SunStudio" (org.netbeans.modules.cnd.execution.impl.SUNErrorParserProvider). So you can create own module with own tool collection and define own service. Does it fix issue? |