I've just followed the CodeceptJS Quickstart and opened first_test.js
in the PhpStorm IDE (equivalent to WebStorm, IntelliJ, etc.).
For all the built-in functions, I'm getting "Unresolved function or method …":
I also don't get any autocompletion on I
.
I've tried the following.
- Looked for a CodeceptJS plugin. Didn't find any.
- Enabled
codeceptjs/node_modules
in Settings -> Languages & Frameworks -> JavaScript -> Libraries. - Set JavaScript language version to ECMAScript 6.
- Enabled the Node.js Core library.
- Restarted PhpStorm.