Autocompletion
#
IntelliJAutocompletion 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.
Type definitions based on JSDoc is used for documenting code. It helps to see more additional details about parameters and their types.
Use standard shortcuts ⇧ + ⌥ + SPACE on IntelliJ Platform to see available documentation:
#
Visual Studio Code (VSCode)Visual Studio Code usually has type support automatically integrated and there is no action needed.
If you use vanilla JavaScript and want to have proper type support for synchronous commands you have to create a jsconfig.json
in your project root and refer to used wdio packages, e.g.:
- Synchronous Mode w/ Mocha Example
- Asynchronous Mode w/ Cucumber Example
jsconfig.json
jsconfig.json