microsoft / microsoft/vscode-java-debug

Support wildcard in sourcePaths

Open
#804 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged enhancement feature request sourcemap
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

I have a lot of folders to define in the debug option "sourcePaths", like :

  • "${workspaceFolder}/src/plugin/Plugin1/src/java"
  • "${workspaceFolder}/src/plugin/Plugin2/src/java"
  • ...

Is it possible to support wildcard, so I can define only 1 line :

  • "${workspaceFolder}/src/plugin/*/src/java"

Thanks !

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 tracing how the debug option "sourcePaths" is parsed and passed to the Java debugger. Check the existing tests around source path handling, then define completion as accepting "${workspaceFolder}/src/plugin/*/src/java" and resolving the matching folders without breaking explicit paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.