Comments (5)
@jchannon you have templates they would be pretty easy to add.
from generator-aspnet.
Ok cool
As another thought I already have templates in the sublime plugin. Would
you be ok if I copied some of your templates to the sublime plugin?
https://github.com/OmniSharp/omnisharp-sublime/tree/master/templates
On Wednesday, 17 December 2014, Shayne Boyer [email protected]
wrote:
@jchannon https://github.com/jchannon you have templates they would be
pretty easy to add.Reply to this email directly or view it on GitHub
#15 (comment)
.
from generator-aspnet.
Here is what I'm thinking, it would be great if we had a single source for templates. We can create a build process which takes the single source and creates templates for the following.
- Visual Studio item templates
- Yeoman subgenerators
- Sublime templates
- Anywhere else
I'm thinking that this could be the repo for that. Perhaps we can start with what we have. I noticed that the code in this repo uses <%= namespace %>
for replacements but in the sublime case it uses ${namespace}
. Perhaps we can create a build script which we can run which takes the sources from here and produces a folder which contains the sublime templates. The idea is to update a single set of templates and have them fan out to all the places where templates are needed. I think this should be pretty straight forward for item templates, project templates are another story.
If you guys think this is a good idea then I believe we should start working on that automation step that works on the translation. If it's ok to run the scripts from a windows machine I can start working on the script which drives the conversions. I'll use PowerShell. We can hook up appveyor so that we can develop on whatever machines we want and have it churn out the deliverable. If we need to be able to run the script on xplat then we can look at another tech and I'll likely be slower on contributing to that.
Thoughts?
from generator-aspnet.
👍 for this idea.
Check out my C# templates/snippets for emacs here https://github.com/nosami/yasnippet-csharp
If we had a common area to put these, I'd be tempted to have omnisharp server do the marker substitutions.
from generator-aspnet.
old topic, non-closed when Nancy template landed.
from generator-aspnet.
Related Issues (20)
- Remove 'usersecrets` subgenerator for RC HOT 1
- Update Docker template content for 2017RC HOT 1
- Update global.json generator/template for VS2017 RC HOT 1
- How to create controller in vscode using yo HOT 2
- [Possible Bug] Can't seem to run Yeoman generate project on Heroku HOT 10
- Can find project.json inside of new project HOT 18
- Log off should be Logout in mvc template
- Cant project in visual studio HOT 2
- The target "Restore" does not exist in the project HOT 2
- The specified framework 'Microsoft.NETCore.App', version '1.0.4' was not found HOT 5
- Subgenerators are not available HOT 5
- Can not bundle Js and css file in aspcore/angular2 HOT 2
- How to install previous generators HOT 1
- Bower is deprecated HOT 3
- double '<' character in csproj files HOT 1
- Error when using --version-current HOT 2
- Upgrade project templates to .NET Core 2.0 HOT 2
- Can't install generator-aspnet
- Sematic UI template - Index.cshtml content still has "ASP.NET MVC 5" or "ASP.NET 6" naming reference HOT 1
- Deprecate generator-aspnet package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-aspnet.