Closed PhasorLaser closed 7 months ago
Last time I looked there wasn't an API for retrieving a list of open files.
The extension does advertise itself with:
Diff 2 opened files with ease.
😜
If there's no API to access tabs, maybe an exclude
setting would ease the pain of waiting for 10+ seconds for the file selector to populate, as it's retrieving everything in .cache/jest/
and ./node-modules/.cache/
for example?
As of v2 open files are now listed at the top of the list.
If you want to remove other kinds of files you can override the diff.include
setting, or the diff.exclude
setting, to make sure nothing passes those filters.
Potentially a dedicate command that only lists open files can be added, but it seems a bit superflous?
This is customizable in v2.1, if you only want to see open files use these settings:
"diff.showUntitledFiles": true,
"diff.showOpenFiles": true,
"diff.showFoundFiles": false,
"diff.showFoundRelativeFiles": false
I would like the list to be just the "open" files meaning what I have tabs of open in the VS workspace...Otherwise the list feature is not usable, thus the point is lost