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 220741 - support document's preamble
Summary: support document's preamble
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks: 220682
  Show dependency tree
 
Reported: 2012-10-24 11:50 UTC by Vladimir Voskresensky
Modified: 2012-10-25 11:02 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 Voskresensky 2012-10-24 11:50:14 UTC
To speed features up, especially in editor we should introduce "preamble" - some state of internal structures at some point of file.
I.e. 
1) remembering macro table at the end of last #include directive allows to prevent any I/O when reconstruct recently modified file in editor.
2) remembering symtab at the end of last #include directive allows to have faster code completion and semantic HL

Preamble can be created during editor initalization phase or be triggered by opening editor.