-
Notifications
You must be signed in to change notification settings - Fork 28k
-
Star 160k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quickfix popup stopped suggesting imports for JS #131840
Quickfix popup stopped suggesting imports for JS #131840
Comments
mjbvz
commented
Aug 30, 2021
If this only happens when eslint is enabled, please start by filing it against that extension |
croraf
commented
Aug 30, 2021
•
edited
edited
Are typescript language features (built in into vscode) in charge of providing Quick Fix option Because I do see that typescript language features provide Quick Fix options for |
mjbvz
commented
Aug 30, 2021
Auto import come from VS Code itself but if this bug only happens when eslint is enabled, something with that extension is causing issues. Please put together a demonstration of the issue that doesn't require anything eslint and we'll take a look |
croraf
commented
Aug 31, 2021
•
edited
edited
(Yes, I think it might be better to go with the issue through the vscode-eslint extension repo, even though the error might potentially be in the vscode API) FYI: The autoimport on autocompletion dropdown selection works fine! (as on the following two images) What does not work is the following:
|
croraf
commented
Aug 31, 2021
•
edited
edited
I made some progress. So either some Could it be that the |
Does this issue occur when all extensions are disabled?: Yes/No (It requires ESLint extension to reproduce)
Version: 1.59.1
Commit: 3866c35
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: