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 256373 - Macro view should support search
Summary: Macro view should support search
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 03:50 UTC by Vladimir Kvashin
Modified: 2017-06-30 07:51 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 Vladimir Kvashin 2015-11-05 03:50:30 UTC
When a macro is long and complex, it is sometimes hard to find the stuff user needs in Macro View window. And search does not work there. It should work.

The example is the macro in globals.cpp:54 in openjdk source

RUNTIME_FLAGS(MATERIALIZE_DEVELOPER_FLAG, \
              MATERIALIZE_PD_DEVELOPER_FLAG, \
              MATERIALIZE_PRODUCT_FLAG, \
              MATERIALIZE_PD_PRODUCT_FLAG, \
              MATERIALIZE_DIAGNOSTIC_FLAG, \
              MATERIALIZE_EXPERIMENTAL_FLAG, \
              MATERIALIZE_NOTPRODUCT_FLAG, \
              MATERIALIZE_MANAGEABLE_FLAG, \
              MATERIALIZE_PRODUCT_RW_FLAG, \
              MATERIALIZE_LP64_PRODUCT_FLAG, \
              IGNORE_RANGE, \
              IGNORE_CONSTRAINT)

It expands into nearly 1000 lines of code!

I tried to find the variable of interest, and the only way to do this was to copy-paste text in the editor and then use it for searching.
Comment 1 Vladimir Kvashin 2015-11-05 03:51:32 UTC
I would say it should also support marc occurrences, but this is the subject for a different issue.
Comment 2 Alexander Simon 2016-06-14 16:19:54 UTC
It is enchantment.
Comment 3 Vladimir Kvashin 2016-06-15 04:53:41 UTC
I agree, that's an enhancement. An important one however :)