mjbvz / vscode-folder-source-actions

VS Code extension for applying organize imports to all files in a folder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FixAll in folder is unreliable for fix all provided by the TSLint extension

mjbvz opened this issue · comments

Bug

  1. Using https://github.com/Microsoft/typescript-tslint-plugin/
  2. Create a tslint error in multiple files
  3. Make sure files are not open in VS Code
  4. Try applying fix all in folder

Bug
Sometimes it works for a file and sometimes not.

The root cause is tslint's weird implementation of fix all. It requires up to date diagnostics in the file, but if we freshly open the file the diagnostics will not yet be populated