This document lists changes made to the Editor Code Completion API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.editor.completion/1 > 1.20
CompositeCompletionItem interface was added to allow for
completion items containing possible sub-items.
void CompletionResultSet.setHasAdditionalItemsText(String text) was added
to allow for customization of the text displayed in a completion popup whenever
a CompletionProvider indicates that additional items could be added to the result set.
void CompletionResultSet.setHasAdditionalItems(boolean value) was added
to indicate that some items could exist that will likely need a long time to be computed
and added to the result set. It is preferred to add them on the special 'all' code
completion invocation only.
Adds few structured logging triggers to cooperate with the UI Gestures Collector.
void CompletionResultSet.setWaitText(String waitText) was added
to allow customization of the text in the label displayed
if the completion query results are not computed in certain timeout.
CharSequence CompletionItem.getInsertPrefix() was added.
CompletionTask.refresh(CompletionResultSet resultSet) now allows
void AsyncCompletionQuery.preQueryUpdate(JTextComponent component)
was added to reflect that in AsyncCompletionTask.
Editor Code Completion API was created.
Built on January 11 2022. | Copyright © 2017-2022 Apache Software Foundation. All Rights Reserved.