


Expand a string at caret to an existing word It helps you complete any word from any of the currently opened files. Hippie completion is a completion engine that analyses your text in the visible scope and generates suggestions from the current context. When println gets the focus in the suggestion list, select it with Ctrl+Shift+Enter: It inserts the necessary syntax elements (parentheses, braces, and semicolons) and gets you in a position where you can start typing the next statement.
#AUTOCOMPELTE ECLIPSE FOR MAC CODE#
You can create syntactically correct code constructs by using statement completion. IntelliJ IDEA scans for static methods and fields, and suggests the ones suitable in the current context.Ĭompletion for chained expressions is only available for Java and requires the project to be built with the IntelliJ IDEA compiler (not the Gradle compiler). Static method calls or constant references. IntelliJ IDEA searches for symbols with the same component type and suggests converting them. This lets you complete:Ĭollections, lists and arrays.

Invoking basic code completion for the second time shows inaccessible classes and members (these can be made public by applying an intention action). If basic code completion is applied to a part of a field, parameter, or variable declaration, IntelliJ IDEA suggests a list of possible names depending on the item type. However, IntelliJ IDEA does not recognize the structure of such files, and suggests options regardless of whether they are appropriate in the current context.īasic completion is also available for a non-English keyboard layout. When you invoke code completion, IntelliJ IDEA analyses the context and suggests the choices that are reachable from the current caret position (suggestions also include Live templates).Ĭode completion is available for custom file types. Basic completionīasic code completion helps you complete the names of classes, methods, fields, and keywords within the visibility scope. This section covers various techniques of context-aware code completion that allow you to speed up your coding process.
