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.
Summary: | [Code completion] Do not display 'Press Ctrl+Space again..' | ||
---|---|---|---|
Product: | editor | Reporter: | Max Sauer <msauer> |
Component: | Completion & Templates | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | tor |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Proposed change |
Description
Max Sauer
2007-05-21 13:42:52 UTC
There is no way how to remove this message. Dusane, can we do that with the existing API? Does CC know that the items from the first query are *all* items and that there is no point in running the second query to get more? In other words is it the CC what needs fixing or javascript module? Thanks I'm afraid that we need a small API change to achieve this. I will discuss it with Mila. Created attachment 44023 [details]
Proposed change
I would like to propose a small change to the editor/completion API (diff is attached). Looks ok to me. One little thing you might want to consider is using a different name for the method. Maybe setHasAdditionalItems(boolean value) would be easier to understand. OK. I will change the name as proposed. Fixed. Checking in editor/completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java; /cvs/editor/completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java,v <-- CompletionImpl.java new revision: 1.72; previous revision: 1.71 done Checking in editor/completion/src/org/netbeans/modules/editor/completion/CompletionResultSetImpl.java; /cvs/editor/completion/src/org/netbeans/modules/editor/completion/CompletionResultSetImpl.java,v <-- CompletionResultSetImpl.java new revision: 1.9; previous revision: 1.8 done Checking in editor/completion/manifest.mf; /cvs/editor/completion/manifest.mf,v <-- manifest.mf new revision: 1.8; previous revision: 1.7 done Checking in editor/completion/apichanges.xml; /cvs/editor/completion/apichanges.xml,v <-- apichanges.xml new revision: 1.7; previous revision: 1.6 done Checking in java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v <-- JavaCompletionProvider.java new revision: 1.121; previous revision: 1.120 done Checking in editor/completion/src/org/netbeans/spi/editor/completion/CompletionResultSet.java; /cvs/editor/completion/src/org/netbeans/spi/editor/completion/CompletionResultSet.java,v <-- CompletionResultSet.java new revision: 1.7; previous revision: 1.6 done VERIFIED. --- Product Version: NetBeans IDE Dev (Build 070711) J ava: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Linux version 2.6.12-1.1390_FC4smp running on i386; UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev |