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

Issue #14 - Send capabilities in initialize #15

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

mickaelistria
Copy link
Contributor

Signed-off-by: Mickael Istria mistria@redhat.com

@@ -279,6 +276,14 @@ typedef std::function<HRESULT(
const json &arguments,
json &body)> CommandCallback;

void VSCodeProtocol::addCapabilities(json &capabilities)
Copy link
Contributor

Choose a reason for hiding this comment

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

How about renaming it to AddCapabilitiesTo ?

  • Capital A follows the naming convention for other class methods
  • To indicates that the this methods adds capabilities to passed argument instead of adding capabilities to class instance

Signed-off-by: Mickael Istria <mistria@redhat.com>
@mickaelistria mickaelistria force-pushed the 14-initialize-capabilities branch from 4a2e0e2 to 80ed6c8 Compare April 4, 2019 07:05
@mickaelistria
Copy link
Contributor Author

I just updated the commit as you suggested.

@ayuckhulk ayuckhulk merged commit 5918d48 into Samsung:master Apr 4, 2019
@ayuckhulk
Copy link
Contributor

@mickaelistria Thank you for your contribution!

@mickaelistria
Copy link
Contributor Author

Awesome, thanks! And I see it's already available in https://github.com/Samsung/netcoredbg/releases . That's really nice!

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

Successfully merging this pull request may close these issues.

2 participants