Limitations of Source Archive file systems

Open
#500 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
devtools

Research direction

Start with the reproduction steps for the VS Code command palette's "Go Back" while switching between source archive files and files outside the archive, then review the linked issue comment for additional context. Done means navigation reliably returns to the previously viewed file, including normal files, without requiring the archive editor to be made non-preview.

Written by the indexing model from the issue text.

Description

bug VSCode

To Reproduce
Import a database with a zipped archive. Open some file on disk outside the source archive. Select various source files in the source archive. Do VS Code command palette "Go Back"

Expected behavior
The previously viewed file is shown.

Actual behavior
The most recently viewed file outside the source archive is shown.

Additional context
Users have reported that this bug doesn't consistently reproduce, and sometimes Go Back and Go Forward is broken even for normal files. A workaround is making the source archive file a non-preview editor, for example by double clicking on it in the file explorer.

Note that this is just one manifestation of the bug. For more context see https://github.com/github/vscode-codeql/issues/500#issuecomment-712301680 below.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.