Open jnm2 opened 6 years ago
i wanted to do this same thing
@sharwell I'm looking at the source code and somehow missing the obvious. Do you know where it is that we would make the change to put this command under the Debug category?
I'm really coming up dry here. How do folks get a category applied to their command?
If you add this line inside the .vsct <Button>
element, it shows up in the 'Add Command' window under the Debug category as "Debug.JustMyCodeToggle":
<Parent guid="guidVSDebugGroup" id="IDG_EXECUTION" />
(thanks to Oleksandr at https://gitter.im/Microsoft/extendvs?at=5e5254644609ce3a881e84bd)
But the problem is, we don't want a button in the main Debug menu. If I use IDG_DEBUG_TOOLBAR_WATCH
as the parent, Debug.JustMyCodeToggle doesn't show up in Add Command anymore.
I wanted to try out what it would be like to put the toggle right after the ▶ Start button.
I expected it to my in this list under Debug/Just My Code Toggle or Debug/Toggle 'Just My Code', but I'm not finding it:
Happy to submit a PR if this makes sense to you. (Tips appreciated!)