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 129967

Summary: There should be an SPI for registering and retrieving function definitions
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

Description Vladimir Kvashin 2008-03-12 21:49:24 UTC
The issue concerns navigating to function definition.

In the case of the sets of projects with complex dependencies to each other (such as Open Solaris), finding function
definition becomes a nontrivial task. Now the required projects are searched for definitions, but it is insufficient.

An infrastructure should be implemented that allows registering definitions and project dependencies. It then can be 
implemented as a separate module.
Comment 1 Vladimir Kvashin 2008-03-12 21:52:16 UTC
Sorry, there is a typo in the description: 
> An infrastructure should be implemented
should be 
> An infrastructure should be *introduced*

So this issue concerns the creation of the appropriate SPI, which can be implemented later on.
Comment 2 Alexander Simon 2008-03-13 09:02:25 UTC
Do not forget that one service SPI already exists:
org.netbeans.modules.cnd.api.model.services.CsmFunctionDefinitionResolver
and is used in class view and h6yperlink in "Go To Declaration" actions.