By default, PhpStorm displays the code completion popup automatically as you type. 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, PhpStorm suggests a list of possible names depending on the item type. When you invoke code completion, PhpStorm analyses the context and suggests the choices that are reachable from the current caret position (suggestions also include Live templates).īasic completion is also available for a non-English keyboard layout. Basic completionīasic code completion helps you complete the names of classes, methods, 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.
0 Comments
Leave a Reply. |