Can you auto generate step definitions in Visual Studio Code - c#

I have currently created a noddy google search program as Gherkin Feature file using Specflow in Visual Studio Community. Using Visual Studio (or community) you have the option to right click and auto generate the step definition skeleton.
Does anyone know if you can also auto generate when in Visual Studio Code (or is there a plugin to allow it)? Initial investigation I don't get that option and trying to google for an answer was less than helpful

Resolved if anyone is interested.
https://marketplace.visualstudio.com/items?itemName=RajUppadhyay.specflow-steps-definition-generator. This add on does the trick.
#Greg Burghardt

Related

The Unity Scripts edited in Visual studio don't provide autocomplete...2020

just like the title Unity Scripts edited in Visual studio don't provide autocomplete. i am trying to make a rigid body and as you can see it doesn't recognize it, some help? By the way i can't change the "External script editor" to something else but "open file by extension:
Your installation of Visual Studio is probably missing the Visual Studio Tools for Unity extension.
Try this installation guide: Get started with Visual Studio Tools for Unity
There is a previous forum that provides guidance on this issue which is still relevant in 2021:
Unity Scripts edited in Visual studio don't provide autocomplete
One solution that worked for me that was not in that forum was going to the Solution Explorer tab in Visual Studios. Right click the solution and hit resolve errors. This may fix the issue.

I am not finding the add custom command option in the extensibility tab of Visual Studio 2013

I have installed VS SDK for VS2013. But I am not finding any option to add custom command inside C# Extensibility. Am I missing something? Note that I have done same thing in VS 2017 and VS 2019 and it is working for me. Screenshot of VS2013 can be found here -Image.
I am not finding the add custom command option in the extensibility
tab of Visual Studio 2013
As far as I know, the Custom Command Item Template is a new feature of vsix project since VS2015. You can refer to this official document.
This is VS2015 document:
So if you use VS2013, you can not get what you want. And VS2013 does not support extending menus and commands for VS IDE.
And if you want to extend them, you should target to use VS2015+.
Update 1
First, thanks to Ed Dore for the guidance. VS2013 does not have such Custom Command Item Template and if you still want to get it in VS2013, you should add that command in .CS, .VSCT file manually and then add necessary code to realize it. Actually, it can be done in VS2013 to create a custom command.
Hope it could help you.

Auto-complete a switch-case in Visual Studio Code

I am a student learning Game design as well as Programming in C# and have been using Visual Studio for a while. I recently switched back to Visual Studio Code for a recent project and i have been annoyed by a a certain lacking auto complete feature.
Using Visual Studio Code, how does one auto complete a switch case in the same way like Visual Studio does?
I have searched the Extension Market in Visual Studio Code and i have found no single extension that achieves this. I have also searched (although not in depth) Microsoft's documentation about Visual Studio Code for this feature yet nothing has come up in my findings about this.
If there is not any official method, is there at least any way possible to achieve a similar effect?

Templatizing a project in Visual Studio

I have created a windows mobile application in Visual Studio. I want to templatize this project so that one can open this as a template as opposed to a project.
Is this possible in Visual Studio? I read that there is something called as "VSX (Visual Studio Extension)" which may achieve this. I have Visual Studio Ultimate installed in my system and was trying to install the VS2010 SDK. But its not getting installed telling that i dont have MS Visual Studio 2010 which I apparently do.
Am I going in the right direction? If not what would be the correct way to go ?
Yes it is possible like this: File > Export Template than click next :) It will save your code too
This is what I was looking for and it came really handy too.
Export Template Wizard
This exports a project directly as VSIX extension using a wizard.
I would recommend using the TemplateBuilder NuGet package inside of either a VSIX Project or a Visual Studio package. I've created a 6 minute video showing you how you can: Create a VSIX containing a project template, and then editing the template. Checkit out at https://www.youtube.com/watch?v=z33jOo75CH4.
FYI TemplateBuilder is open source at https://github.com/ligershark/template-builder. If you've heard of SideWaffle it relies on TemplateBuilder.

Block schema in Visual Studio

I am novice and work with Visual Studio, .Net, C#.
Could you please help me with the following question:
If I already created a solution
How can I create and view its block-schema in Visual Studio?
I mean diagram showing iteraction between mthods and variables etc
When you mean creating UML Class Diagrams from code then look here:
http://msdn.microsoft.com/en-us/library/ff657806.aspx
Also there is set of videos about modeling features of Visual Studio
http://channel9.msdn.com/blogs/clinted
But architecture explorer feature is present only in Visual Studio 2010 Ultimate
Also look at Visualization and Modeling Feature Pack
http://msdn.microsoft.com/en-US/vstudio/ff655021.aspx
When you have no Ultimate version of VS, maybe NClass will be good free alternative for you in this case.
Right click on your project, "View class diagram". This is available only in Ultimate edition.
What you're describing sounds more like a "Sequence Diagram". If you have Visual STudio 2010 Ultimate, you and right-click within any method and select "Generate Sequence Diagram".
But, sequence diagrams don't show all interactions with local variables; just method (and optionally property) invocations.

Categories

Resources