redhat-developer / redhat-developer/vscode-java

Copies entire project to VSCode workspaceStorage. Doesn't cleanup on Uninstall

Open
#984 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

runtime
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Upon opening the single .java file in the repo, this extension (secretly, as far as I'm concerned) copied the entire workspace file tree to VSCode's workspaceStorage. This duplicated 50GB, including (obviously) many files with no relationship to java. Not sure what the rationale for copying every file could be...
but at the very least, clean everything up upon uninstall guys.

Environment
  • Operating System: macOS 10.14.5
  • JDK version: None!
  • Visual Studio Code version: 1.36.1
  • Java extension version: latest

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.

Research direction

Start by reproducing the behavior described when opening a single .java file in Visual Studio Code, then inspect how the extension uses VSCode workspaceStorage and how uninstall is handled. Done means the extension no longer copies unrelated workspace files unnecessarily and removes its stored project data when uninstalled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.