1

I have the setting show unused on true (both User and Workspace).

enter image description here

But unfortunately, it doesn't seem to work. As you can see the "unused" import look the same as the other imports.

enter image description here

I am using Visual Studio Code 1.42.0 (but I had the same issue on older versions)

Ryan Pergent
  • 4,432
  • 3
  • 36
  • 78
  • Maybe some extension decoration conflict? Does it repro with all extension disabled? `code --disable-extensions` – Alex Feb 15 '20 at 14:28
  • @Alex I still have the issue with all extensions disabled (except for Node Debug that won't let me disable it for some reason) – Ryan Pergent Feb 18 '20 at 09:09
  • Then you might want to report it to vscode repo https://github.com/microsoft/vscode/issues (likely with more details). – Alex Feb 18 '20 at 09:20

1 Answers1

1

I fixed it by uninstalling VS code completely (You have to manually delete some files: https://stackoverflow.com/a/52462074/3904557) and reinstalling it.

Ryan Pergent
  • 4,432
  • 3
  • 36
  • 78