From 09f25fff8203c963422264322526d52b6e78144e Mon Sep 17 00:00:00 2001 From: Kyle Holmberg Date: Sun, 19 Apr 2020 04:54:40 -0700 Subject: [PATCH] Update README with JS intellisense instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e93538e..f5b8efa 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,16 @@ and should be added as follows in `tsconfig.json`: } ``` +### Intellisense for JavaScript with VS Code + +If you're not using TypeScript, you use VS Code, and want to have code-completion with the methods from this library, simply add the following line to your project's root-level `jsconfig.json` file: + +```json +{ + "include": ["node_modules/cypress", "./cypress/**/*.js"] +} +``` + ## Usage `Cypress Testing Library` extends Cypress' `cy` command.