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

Scenario navigation drop-down #59

Open
flcdrg opened this issue Dec 17, 2019 · 3 comments
Open

Scenario navigation drop-down #59

flcdrg opened this issue Dec 17, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@flcdrg
Copy link

flcdrg commented Dec 17, 2019

I think it would be nice if there was a drop-down control in the editor that let you jump to a particular scenario. Kind of like the ones that appear for C# .cs files (which navigate by namespace, class and method respectively).

Scenario would be useful. I guess you could have a second drop-down to jump between given/when/then sections too for a specific scenario.

@gasparnagy
Copy link
Contributor

That sounds like cool idea. You mean these ones, right?
image

I was once thinking about that, but could not find the related infrastructure in the VS extension SDK. (I might be wrong, but as far as I remember at that time it seemed to be a special feature implemented for the internal stuff only. But this was like 4+ years ago...)

If you have time, you can also try to make a bit of research on this. I usually scan through the SDK samples (https://github.com/microsoft/VSSDK-Extensibility-Samples) and/or the documentation (https://docs.microsoft.com/en-us/visualstudio/extensibility/starting-to-develop-visual-studio-extensions?view=vs-2019) we can also ask about this in StackOverflow, the SDK ppl are quite active there. Once we find the infrastructure to be used, the solution should be simple, as we have all the information (scenarios, steps) available for the editor.

@gasparnagy gasparnagy added the enhancement New feature or request label Dec 17, 2019
@flcdrg
Copy link
Author

flcdrg commented Dec 17, 2019

No worries. I've actually implemented something similar for an xslt extension I created, so that could be a useful reference.

https://github.com/flcdrg/XsltCop

@gasparnagy
Copy link
Contributor

@flcdrg great. looks good! So it is essentially just a special top margin! Makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants