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 220669 - Improve addNSAwareCompletionItem
Summary: Improve addNSAwareCompletionItem
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on: 213435
Blocks:
  Show dependency tree
 
Reported: 2012-10-23 12:18 UTC by Exceptions Reporter
Modified: 2015-09-17 14:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193951


Attachments
nps snapshot (33.05 KB, application/nps)
2012-10-23 12:19 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-10-23 12:18:58 UTC
This issue was reported manually by sdedic.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build EaselCSS-389-on-20120726)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows 7

User Comments:
pjiricka: Code completion in web.xml for the first time. I noticed that there was a "Downloading..." item shown for a while - I thought that no download is needed, and the web.xml schema is bundled with NetBeans, no? This was web.xml 3.0.

jyeary: Working on taglib.xml code completion.



Maximum slowness yet reported was 4329 ms, average is 3418
Comment 1 Exceptions Reporter 2012-10-23 12:19:02 UTC
Created attachment 126395 [details]
nps snapshot
Comment 2 Svata Dedic 2012-10-23 12:24:45 UTC
The current implementation forces build of textual content of the completion item, which means the defining SchemaModel is initialized etc. Some information may be already known to the CompletionItem, so addNSAwareCompletionItem could query properties of the completion item rather than the replaced text - saving some time in CC processing.
Comment 3 Martin Balin 2015-09-17 14:11:19 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.