-
Notifications
You must be signed in to change notification settings - Fork 325
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
Quick Fix popup stopped suggesting "Add missing import" for JS #1326
Comments
This is a copy of this issue opened on the vscode repository: microsoft/vscode#131840 |
I am not sure what exactly the issue is. Running eslint in the terminal shows exactly the same errors than the eslint extension does
|
When you run eslint in the terminal with the |
I actually tried that later yesterday, and it does not get fixed. This is what suggested me that it has nothing to do with If this is the case then perhaps eslint removed the support for this, or vscode provided the autoimport fix through "typescript language features" or I have some configuration issue. I mean vscode-eslint hasn't released a new production version since 2020, right? And the issue started to appear mid 2021. |
The latest update on |
I will close the issue. |
It's almost 2023 and this problem still seems not fixed yet. |
As said this need to be fixed in TS/JS and not in ESLint. |
This works for me: add |
Version: 1.59.1
Commit: 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
Date: 2021-08-19T11:54:37.513Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Linux x64 5.4.0-45-generic
Steps to Reproduce:
package.json
with"type": "module"
property.npm install eslint
.eslintrc.cjs
:first.js
andsecond.js
During typing of
myItem
infirst.js
the editor does suggest me to complete it and import, and on confirm it does complete and importmyItem
. (this part works even without ESLint extension and library)But, if it is already completed, it does get underlined as a missing error and you can open a Quickfix popup. But in the Quickfix popup there is no suggestion to "Add the missing import".
The "Add the missing import" suggestion was present until sometime in the mid 2021. (But perhaps I disabled something in the settings also.)
The text was updated successfully, but these errors were encountered: