I don't know to right question in this section, but I have problem with this subject.
I use VSC to write test. How to get auto complete suggestion in this IDE.
Thanks for helping
3.0.2
Hey @essivision, this is documented here: https://on.cypress.io/intelligent-code-completion
Let me know if there's anything left unanswered!
I can't understand. Visual studio code dosen't suggest cypress methods
Hi @essivision, were you able to go through the set up process for VS Code detailed here? https://on.cypress.io/IDE-integration#Set-up-in-your-Dev-Environment
This would mean setting up TypeScript support for VS Code and adding the tsconfig.json
file to your project.
Edit: fixed dead link
only you have to put this line at beggining of the document:
/// <reference types="Cypress" />
:*
@jennifer-shehane The config files mentioned in the documentation do not appear to work (at least not with the latest version of VSCode).
The triple-slash directive does work, although preferably it'd be nice not to have to add that to every file.
@jennifer-shehane @santiagoholguing the config file
/// <reference types="Cypress" />
not is working for me
https://on.cypress.io/intelligent-code-completion#Set-up-in-your-Dev-Environment is now a dead link (404).
The current link for setting up autocomplete in Cypress using a tsconfig.json
file is : https://docs.cypress.io/guides/tooling/intelligent-code-completion.html#Set-up-in-your-Dev-Environment-1
Most helpful comment
only you have to put this line at beggining of the document:
/// <reference types="Cypress" />
:*