Skip navigation links

NetBeans Architecture Answers for Editor Code Completion module

WARNING: answering questions version 1.25 rather than the current 1.29.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
CodeCompletionAPIExportedOfficialindex.html

EditorModuleAPIImportedFriend
org.netbeans.modules.editorImportedPrivate

The module is needed for compilation. The module is used during runtime. Specification version 1.53 is required.

org.netbeans.modules.editor.documentImportedPrivate

The module is needed for compilation. The module is used during runtime. Specification version 1.3 is required.

org.netbeans.modules.editor.libImportedPrivate

The module is needed for compilation. The module is used during runtime. Specification version 4.0 is required.

editor-code-generatorImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 2.0 is required.

MimeLookupAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 1.20 is required.

EditorSettingsAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 1.18 is required.

org.netbeans.modules.editor.utilImportedPrivate

The module is needed for compilation. The module is used during runtime. Specification version 1.3 is required.

LexerAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 1.63 is required.

org.netbeans.modules.samplerImportedPrivate

The module is needed for compilation. The module is used during runtime. Specification version 1.0 is required.

org.openide.awtImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 6.4 is required.

FilesystemsAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 9.0 is required.

ModulesAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 6.2 is required.

EditorAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 6.34 is required.

WeakListener.setAccessibleImportedUnder Development

The module is needed for compilation. The module is used during runtime. Specification version 9.3 is required.

LookupAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 8.0 is required.

UtilitiesAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 9.3 is required.

Group of logger interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.netbeans.ui.editor.completionExportedUnder Development

Since version 1.8 the completion cooperates with UI Gestures Collector by sending following messages to the org.netbeans.ui.editor.completion logger:
  • COMPL_INVOCATION - message about a code completion being invoked. Arguments:
    • {0}: true - if explicit, false if implicit invocation happened
  • COMPL_KEY_SELECT - send when user selects an item from completion using keyboard character. Arguments:
    • {0}: character that invoked the action
    • {1}: the index of selected item
    • {2}: the classname of the selected item
  • COMPL_KEY_SELECT_DEFAULT - send when user selects an item from completion using enter. Arguments:
    • {0}: '\n'
    • {1}: the index of selected item
    • {2}: the classname of the selected item
  • COMPL_MOUSE_SELECT - send when user selects an item from completion using mouse. Arguments:
    • {0}: null
    • {1}: the index of selected item
    • {2}: the classname of the selected item
  • COMPL_CANCEL - send when user selects cancels completion without any selection. No arguments.

Group of systemproperty interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.netbeans.modules.editor.completion.slowness.reportExportedPrivate ...//wiki.netbeans.org/FitnessViaPostMortem

You can suppress automatic reporting of slow code completion computation by increasing value of -J-Dorg.netbeans.modules.editor.completion.slowness.report property to more than 2000 ms (the default value).


General Information


Project and platform dependencies


Deployment


Compatibility with environment


Access to resources


Lookup of components


Execution Environment


Format of files and protocols


Performance and Scalability