Hi,
Is there a c# template for GH2 in Visual Studio?
@CallumSykes Maybe there is also for Visual Studio Code?
Hi,
Is there a c# template for GH2 in Visual Studio?
@CallumSykes Maybe there is also for Visual Studio Code?
I’m finishing up the GH2 template and associated getting started docs. They’ll be released very soon for Visual Studio and VSCode mac/win ![]()
Yay!
You are awesome!
@CallumSykes Thank you for releasing the GH2 plugin project template, but I did not see a gh2 component template? When do you think you will release that template now?
As of now, I have made a new project to get the new serial number for a second component in the plugin. It seems like making a GH2 template for myself is not a simple task. Thank you for your response.
I tend to use this link for new guids myself.
I’m not sure honestly, I mostly created the template for Shape 2 Fab to make workshops easier and help get feedback on the GH2 api. I’ve created a ticket for this, it’s a good request ![]()
@CallumSykes excuse me for the late reply question. Do you know of a link to create my own template file in visual studio code? The process even with making a template folder to hold template files. Thank you.
You are excused.
Prior to this question I did not. But I want to know now so I’ve looked into it.
The RhinoCommon templates are dotnet templates so work cross platform via CLI/VSCode/Visual Studio/Rider etc.
These templates are created via dotnet new. Docs here. Our Repo is here for examples.
If you only use VSCode you can use snippets. You can configure them per language and they show up with intellisense. Seems like you could create whole files or even just bits quite speedily. Seems very handy for Eto/Rhino, a shame they’re not IDE independent.