-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Debug: make launching multi root folder aware #29245
Comments
After talking to @dbaeumer here is an alternative proposal:
|
After discussing with @weinand we have a slight iteration on @bpasero proposal from above
Example {
"id": "1500470713095",
"folders": [
"file:///Users/isidor/Development/Client",
"file:///Users/isidor/Development/Server"
],
"settings": {},
"launch": {
"Launch Client": "Client:Launch Program",
"Launch Server": "Server:Launch Program",
"Launch Both": ["Client:Launch Program", "Server:Launch Program"]
}
} Notice in the example above:
Additional actions for promoting a configuration from folder level to MR level could be handled on top of this. One of the ideas it to play with the 'Add Configuration' button in this scenario. |
@isidorn @weinand a couple of things to consider:
|
|
@isidorn maybe it would make sense to ask the user for which folder to create a launch config / task config in case there is none. |
After discussing this in the standup we have decided to start with the MRU list of configs in the debug dropdown for the multi root workspace. The list would contain most recently used configurations from each If there is no The proposal form above (referencing configurations from roots) we will treat as step 2 and will be added on top. |
@isidorn makes sense, I think on top of that we discussed:
|
All the first steps discussed here are done. Closing |
Today we seem to collect the launch.json from the single root workspace here: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts#L345
In a multi root environment we need to change this assumption. There are a couple of options:
IHistoryService.getLastActiveWorkspaceRoot()
to help out)The text was updated successfully, but these errors were encountered: