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 190008 - Jump to beginning/end of a routine or structure or macro
Summary: Jump to beginning/end of a routine or structure or macro
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL: http://forums.netbeans.org/viewtopic....
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 06:49 UTC by LiveFreeAndRoam
Modified: 2010-08-31 06:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LiveFreeAndRoam 2010-08-31 06:49:22 UTC
Hi,

To keep this concise, I only mention "routines" below, however, please take it to also refer to structures and macros in both C/C++ and H files.

The request is as follows:

From anywhere in a module I would like a means to jump to the beginning or end of the surrounding routine.

Behaviours would include:

1) A bookmark (or similar) is placed at the launching point, so I can easily return to the point.

2) If the cursor is not inside a routine's opening brace, then it should jump to the beginning of the previous routine or the end of the next routine, depending on the request.

3) It should also be possible to bind this feature to a user-defined key-sequence.

4) In the event there is no appropriate target, then:
   a) an alarm should sound/be-seen.
   b) the cursor must not move
   c) a bookmark should not be created

Thanks for listening.

LFaR.