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 244911 - Ctrl-B shortcut doesn't work and "Go To Declaration/Definition" menu items are disabled (hyperlink and #line directive)
Summary: Ctrl-B shortcut doesn't work and "Go To Declaration/Definition" menu items ar...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 12:54 UTC by soldatov
Modified: 2014-06-05 14:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-06-05 12:54:30 UTC
Scenario:
- Code in main.cpp:

#include <assert.h>

int main() {

#line 4 "main.cpp"
    assert(false);
    return 0;
}

- Move cursor on '#line 4 "main.cpp"' line
==>
Ctrl-B shortcut doesn't work
"Navigate|Go To Declaration/Definition" main menu item is disabled
"Navigate|Go To Declaration/Definition" context menu item is disabled
Comment 1 Alexander Simon 2014-06-05 14:08:24 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/50e980034077