Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path substitution lookup util #215

Open
mitchdraft opened this issue Jun 7, 2019 · 0 comments
Open

path substitution lookup util #215

mitchdraft opened this issue Jun 7, 2019 · 0 comments

Comments

@mitchdraft
Copy link
Contributor

currently, the vscode extension assumes one path substitution spec per workspace

However, some workspaces contain several programs with different remote paths

Suggestion:

Implement a lookup system which takes a local path and returns a remote path. Local path should be derived from the debug target

Example:

  • input: /home/mitch/go/src/github.com/solo-io/gloo/projects/gloo/main.go
  • output: /Users/stevej/go/src/github.com/solo-io/gloo/projects/gloo/main.go

Potential storage api:

{
"input1": ["output1"],
"input2": ["output2a", "output2b"],
}
  • if the mapping is 1:1, choose it automatically
    • otherwise prompt for selection
  • provide a form for configuring the mappings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant