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.
Navigation to externed function works, but for a variable it keeps going to same extern ... line. Would be good to be able to navigate to the place where the variable is originally defined at.
Can you please provide sample of code where can be demonstrated the requested behavior? What type of navigation do you use (go to declaration, go to source etc...)?
Here is an example: From NandTest.c: .................................. extern void gvf_KillTasks(void); //!< from ShutdownTask.c extern TCB_PTR Shutdown_task; //!< from ShutdownTask.c ....................................................... Somewhere in the same file: gvf_KillTasks(); - navigate to declaration takes me to the body of the function in a different file (ShutdownTask.c). smx_TaskDelete(&Shutdown_task); - navigate to Shutdown_task decration takes me to the extern TCB_PTR Shutdown_task; //!< from ShutdownTask.c line in the same file (see above). Trying to navigate to declaration from this line just jumps to the beginning of the same line. The variable is declared in a different file (ShutdownTask.c).