microsoft / microsoft/vscode-java-dependency

Unable to move resource files in Java Projects view

Open
#775 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
199
Forks
105
Avg merge
1d 22h
Merged PRs (30d)
27

Description

A resource file cannot be drag and dropped to any folder in the Java Projects view, some works, some others not.

Step to reproduce

I create a file .env at the root of a Maven project (near the pom.xml) and then I try to move it to different folder:

  • the .vscode folder that contains a launch.json -> doesn't work
  • a newly created folder my-folder -> doesn't work
  • the src\main\resources\ folder -> work as expected
    After moving it to src\main\resources\ folder, I try to move it back to the root, this doesn't work.

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

Reproduce the drag-and-drop behavior in the Java Projects view using the Maven project and destinations described in the issue. Trace the view's resource-file move handling, then verify that files can move to .vscode, newly created folders, src/main/resources, and back to the project root.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.