Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intellisense is working incorrectly for Vue and React projects in 1.41.1 #88161

Closed
sborenko opened this issue Jan 6, 2020 · 9 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@sborenko
Copy link

sborenko commented Jan 6, 2020

  • VSCode Version: 1.41.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Create new Vue project: vue create enterprise
  2. Change current directory to enterprise
  3. Open VS Code: code .
  4. Open main.js file. Type imp to add import command. No prompts appear, intellisense is not working.
    image
    Note, if we open App.vue and type me to add methods property, intellisense works fine:
    image
  5. Let's reopen project, but this time open Enterprise's parent directory Vue:
  6. Open main.js again and again type imp to add import command. This time intellisense is working:
    image
  7. But, unfortunately, this time prompts are not correctly working for App.vue:
    image
  8. Similar problems happen to React projects.
  9. I have downgraded to version 1.40.2. Everything looks working right:
    image
    image

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot assigned mjbvz Jan 6, 2020
@vscodebot vscodebot bot added the javascript JavaScript support issues label Jan 6, 2020
@octref octref added the info-needed Issue requires more information from poster label Jan 8, 2020
@octref
Copy link
Contributor

octref commented Jan 8, 2020

I can't reproduce this.

image

Were you seeing a long "Initializing JS/TS language features" message in the bottom? During the initialization phase no intellisense will be shown.

image

@sborenko
Copy link
Author

Yes, I do:

image

Also, when I'm trying to force intellisense to display the prompts by pressing Ctrl + Spacebar, I get "Loading ..." message that never finish:

image

Incorrect version is still 1.41.1.
Version 1.40.2 still works fine.

@sborenko
Copy link
Author

sborenko commented Jan 11, 2020

I looked through the list of more recent issues and found one more similar issue:

#88264: when i try to write code intellisense not showing any suggestions
it continuously shows "Loading...." .

Probably, that's the same case, as long as I had the same error not only in Vue, but in React applications as well.

@octref octref removed their assignment Jan 13, 2020
@octref
Copy link
Contributor

octref commented Jan 13, 2020

Then this is an issue with TypeScript language server, not Vetur.

@sborenko
Copy link
Author

sborenko commented Jan 13, 2020

Definitely - not Vetur. Because it happen for React applications too. And even for Angular sometimes. I have uninstalled the Vetur extention and the problem did not disappear. It persists in 1.41.1 version only.

@mjbvz
Copy link
Collaborator

mjbvz commented Jan 13, 2020

@sborenko Where is your code stored? Somewhere besides the c: drive?

@sborenko
Copy link
Author

On hard disk d:

@mjbvz
Copy link
Collaborator

mjbvz commented Jan 13, 2020

Duplicate of microsoft/TypeScript#35512

To workaround this, upgrade your workspace to use typescript@next by installing this extension

@mjbvz mjbvz closed this as completed Jan 13, 2020
@mjbvz mjbvz added *duplicate Issue identified as a duplicate of another issue(s) upstream-issue-linked This is an upstream issue that has been reported upstream and removed info-needed Issue requires more information from poster labels Jan 13, 2020
@sborenko
Copy link
Author

Okey, thanks. I'll try.

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

3 participants