Skip to main content

Autocompletion

IntelliJ

Autocompletion works out of the box in IDEA and WebStorm.

If you have been writing program code for a while, you probably like autocompletion. Autocomplete is available out of the box in many code editors.

Autocompletion

Type definitions based on JSDoc is used for documenting code. It helps to see more additional details about parameters and their types.

Autocompletion

Use standard shortcuts ⇧ + ⌥ + SPACE on IntelliJ Platform to see available documentation:

Autocompletion

Visual Studio Code (VSCode)

Visual Studio Code usually has type support automatically integrated and there is no action needed.

Autocompletion

If you use vanilla JavaScript and want to have proper type support you have to create a jsconfig.json in your project root and refer to used wdio packages, e.g.:

jsconfig.json
{
"compilerOptions": {
"types": [
"node",
"@wdio/globals/types",
"@wdio/mocha-framework"
]
}
}