question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intellisense/ AutoComplete Not Working in VS Code

See original GitHub issue

Current behavior:

Intellisense/ AutoComplete Not Working in VS Code.

Desired behavior:

Intellisense/ AutoComplete Should Work in VS Code.

Problem:

I have been working on this problem for 8+ hours. I have tried adding /// ..., jsconfig.json, tsconfig.json, duplicating it on cypress folder and combination of these. Autocomplete works on Jetbrain’s Webstorm browser.

Hacky Solution:

  1. So I took backup(just in case) and deleted ‘Code’ folder located in “C:\Users\(UserName)\AppData\Roaming\Code” in Windows.

  2. Follow Official Docs Or Follow what I did: I created ‘tsconfig.json’(although I use .js file) under ‘cypress’ folder and pasted this:

{
	"compilerOptions": {
			"allowJs": true,
			"types": ["cypress"]
	},
	"include": ["**/*.*"]
}

So I dont have to use /// <reference types="Cypress" /> in every cypress file.

  1. Reloaded VS Code and autocomplete started working! [I also deleted extension folder and reverted backup - No change - So not necessary to delete extension folders]

I use windows 7 and dont know if it should be done in mac etc. Take backup and dont blame me if you dont know what you are doing. Or just install Webstorm(Jetbrain) and test if autocomplete works and if it works then proceed to the hacky solution I mentioned.

DONT CLOSE THIS ISSUE:

The solutions is hacky and should be solved by fixing Cypress, not deleting VSCode files!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
k2589commented, Jun 8, 2020

I also got an issue - yesterday autocomplete was working, today is not working)

sorry, it was related to linter issues. fixed with:

/* eslint-disable */ 
/// <reference types="cypress" />
/* eslint-enable */
0reactions
jennifer-shehanecommented, Aug 17, 2020

We’ll be moving this issue to our docs to improve the documentation, as this is outside the scope of the product itself. Our documentation is open source and contributions are welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense not working in VS Code - The Windows Club
How do I fix VS Code IntelliSense? · Use Keyboard Help. · Check Settings. · Restart VSCode. · Update VSCode. · Select Correct...
Read more >
Intellisense not automatically working VSCode - Stack Overflow
only work in C# files if you have a project.json file or *.sln file that VSCode is aware of. Open the folder (i.e....
Read more >
How To Solve IntelliSense Not Working In VS Code
Method 1: Reload The VS Code · Method 2: Check If IntelliSense Is Installed · Method 3: Restart And Update VS Code ·...
Read more >
Visual studio code autocomplete/intelliSense not working fix ...
Step by step procedure to enable IntelliSence in VScode · Close both Unity and VScode. · If you are on Windows, Download and...
Read more >
Visual Studio IntelliSense Not Working? Multiple Ways for You!
Reinstalling Visual Studio or Visual Studio Code is a good method to fix IntelliSense not working on Windows 11/10. Just go to uninstall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found