-
Notifications
You must be signed in to change notification settings - Fork 205
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
Sidewaffle Extension for Visual Studio Code? #324
Comments
+1. It would be great to somehow leverage existing project and item templates created using SideWaffle to use with Visual Studio Code. I myself was thinking of using Yeoman when I had time but this might be a good alternative. |
Precisely, I was thinking the end goal should be to have a single repository of templates. When a new template is merged into the repository it gets added to both the Code and Visual Studio versions of SideWaffle. |
I've heard feedback that Windows users of VS Code don't like having to install npm/yo to get started with projects so I think this is a good idea. In order to be successful I think we'll need more than just SideWaffle templates. I believe the following types of projects are being worked on in VS Code (around asp.net / .net).
For ASP.NET 5 we have For ASP.NET 4.5 the only way to create projects/items is Visual Studio. I'm not aware of any significant project to create ASP.NET 4.5 projects/items from the command line. For MSBuild based projects we started If we create a SideWaffle for VS Code to have a good story I think we will need.
For Thoughts? |
I think VSCode lacks (by design) scaffolding solutions, staying transparent to bigger IDEs' conventions. That is probably why people use Yeoman or other tools to scaffold content and then VSCode recongnizes a project from variety of configuration files: |
@peterblazejewicz yes you're right. The VS Code team didn't implement templates because they are trying to keep it lightweight. With that said they have enabled extensibility and people have asked for this feature. We have similar experience for Atom where you can invoke Forgot to mention that in OmniSharp we already have https://github.com/OmniSharp/vsce-aspnet which is supposed to be the VS Code extension to invoke generator-aspnet. So we may not need to add ASP.NET 5 specific templates. |
In the Code documentation it says that the team has made it so that extension developers do not have access to the program's DOM elements. After reading this one of the questions that comes to mind is how would we want to allow for creating a new project? @sayedihashimi said earlier that there are a lot of people who don't want to have to install Node/Yeoman. It's not very clear about the UI guidelines, I mean can we create our own "Add New Project" or "Add New Item" GUI outside Visual Studio then call that, |
@RandomlyKnighted |
Alright so I guess the question going forward is would we want to hook into Yeoman and use that for our underlying scaffolding tool or do we want to create our own specific to our needs? |
@peterblazejewicz @sayedihashimi what are you thoughts on this? Should we hook into Yeoman or create our own? |
I have thoughts on this, but I can't type much due to an arm problem. Hopefully I can reply back here in a few days. |
@RandomlyKnighted
|
Sorry for the delay here. Since SideWaffle covers many different areas and has Visual Studio specific content I think there may be some percentage of users who may be interested in a What I think is more desirable than I think we could take this opportunity to create a command line version of SideWaffle that's completely self contained in a bin deployable executable that is cross platform. The reason why I'm not doubling down on After having created SideWaffle I have some ideas of how we can simplify it even more. We could use this opportunity to make some of those improvements. The current implementation of SideWaffle is a bit nasty because it's heavily MSBuild based. I'm thinking to create a prototype of what I mean in the form of a PowerShell script. If we do decide to actually create it I think we should use dnx/dotnet. I'm inclined to do it in PS first just so that I can convey my ideas clearly and get a sense for if people are interested in this. For naming of the prototype I'm not sure if I should go with |
I love the idea of a CLI version of SideWaffle. Count me in on helping to build it! My vote is for |
Posh-waffle? ;-) |
I've noticed that Visual Studio Code doesn't really have a smooth way to create a new project let alone one from a template unless you want to install a third party tool like Node and Yeoman. Even if you do install Node and Yeoman you are still pretty limited to web templates like generator-aspnet or others made with Yeoman.
Now that Code gives you the ability to create your own extension I'd like to know what the community thinks about having a SideWaffle extension for Code. I've already thought about this some and just a couple ideas I had included using Yeoman to download setup the projects/item templates or creating our own scaffolding tool to handle this for us.
The text was updated successfully, but these errors were encountered: