Skip to content

Display python debug config ui when editing launch.json#5016

Merged
DonJayamanne merged 10 commits into
microsoft:masterfrom
DonJayamanne:issueJSON3321
Apr 4, 2019
Merged

Display python debug config ui when editing launch.json#5016
DonJayamanne merged 10 commits into
microsoft:masterfrom
DonJayamanne:issueJSON3321

Conversation

@DonJayamanne
Copy link
Copy Markdown

For #3321

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • [n/a] Test plan is updated as appropriate
  • [n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • [n/a] The wiki is updated with any design decisions/details.

Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. I have a few comments below that I'd like you take a look at.

Also, the concept behind IExtensionActivationService is a bit unclear. Are the two new implementations treated sort of like mini-sub-extensions? Doc comments on those classes would really help.

Comment thread gulpfile.js Outdated
Comment thread src/client/debugger/extension/configuration/launch.json/completionProvider.ts Outdated
Comment thread src/client/debugger/extension/configuration/launch.json/commandHandler.ts Outdated
Comment thread src/test/debugger/extension/configuration/launch.json/commandHandler.unit.test.ts Outdated
Comment thread src/test/debugger/extension/configuration/launch.json/commandHandler.unit.test.ts Outdated
Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes. A number of my review comments were marked as resolved but I don't see any corresponding changes and there was no explanation. I've marked those as unresolved. Please at least leave an explanation on why nothing needs to change. Thanks!

Comment thread src/test/debugger/extension/configuration/launch.json/commandHandler.unit.test.ts Outdated
Comment thread src/test/debugger/extension/configuration/launch.json/commandHandler.unit.test.ts Outdated
Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but please make sure we get on the same page before merging.

Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this. I have a few comments on things that are unclear and might need fixing. Also, all those test titles, where the test is targeting an internal method, are still misleading.

Comment thread src/client/common/commandRegistry.ts Outdated
Comment thread src/client/common/commandRegistry.ts Outdated
Comment thread src/client/common/commandRegistry.ts Outdated
Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. That is what I was thinking of, though I'd probably put LaunchJsonUpdaterService above LaunchJsonUpdaterServiceHelper rather than below it. :)

Regardless, thanks for doing this Don. I definitely want to be sure we get on the same page on this stuff though.

@DonJayamanne DonJayamanne merged commit 531cb00 into microsoft:master Apr 4, 2019
@DonJayamanne DonJayamanne deleted the issueJSON3321 branch May 24, 2019 20:21
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants