How do I get WebdriverIO autocomplete on VS Code

后端 未结 3 894
余生分开走
余生分开走 2021-01-21 09:43

Is there a way I can get autocomplete on VS Code for webdriverio?

Other code editors like Intellij provide something like Settings -> Preferences -> Languages & Fram

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-21 10:38

    Above answer worked well :

    you need to install below dependency :

    if you are using webdriverio v4 (for cucumber BDD ) use below 
    npm install @types/webdriverio@4 --save-dev
    
    or use :
    npm install @types/webdriverio --save-dev

    VSCode Intellisense

提交回复
热议问题