WebStorm
 
2025.1
Get WebStorm

Code completion

Last modified: 07 March 2025

Code completion is one of the essential features of the WebStorm editor. To show you completion suggestions, WebStorm goes through the project files with the source code and adds classes, methods, functions, and variables defined in them to a special internal index. Additional information from JSDoc comments, TypeScript type definitions, and so on can also significantly improve completion.

Completion also works for symbols from third-party code. In most cases, all you need is to add the required files to your project.

Code completion

Basic code completion helps you complete the names of classes, methods, fields, and keywords within the visibility scope.

WebStorm analyzes the context and suggests the choices that are reachable from the current caret position. Suggestions also include Live templates. Completion is available for a non-English keyboard layout.