vscode-edits-history icon indicating copy to clipboard operation
vscode-edits-history copied to clipboard

Navigates back to irrelevant files as well

Open balazser opened this issue 6 years ago • 2 comments

VSCode Version: Version 1.25.1 OS Version: macOS Sierra 10.13.4 (17E199)

Steps to Reproduce: Launch VS Code Edit few different files Execute Move to the previous file edited command.

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

Sometimes as I execute the move to previous file command it moves to extension-output-#8 file as well, which is irrelevant, and I guess was atomically generated.

Irrelevant file content:

[Info  - 09:42:52] Linter is running.
[Info  - 09:42:53] 
Failed to load the TSLint library for the document...

balazser avatar Jul 24 '18 08:07 balazser

it happened with the output of run-code extension as well.

[Running] ts-node ".../tempCodeRunnerFile.ts"
234

[Done] exited with code=0 in 0.358 seconds

balazser avatar Jul 24 '18 11:07 balazser

@balazser I was unable to recreate this issue. You said that you disabled all extensions but that you have a linter running? That seems to be contradictory. Perhaps your TSLint extension is writing a file which is getting tracked in the edit history?

Couple of questions to help me investigate:

  1. does it navigate to the "tempCodeRunnerFile.txt" file?
  2. Also does the issue go away with TSLint disabled?

"Failed to load the TSLint library for the document..." is suspicious

mishkinf avatar Jul 24 '18 17:07 mishkinf