Git Product home page Git Product logo

Comments (5)

spboyer avatar spboyer commented on June 6, 2024

@jchannon you have templates they would be pretty easy to add.

from generator-aspnet.

jchannon avatar jchannon commented on June 6, 2024

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.

sayedihashimi avatar sayedihashimi commented on June 6, 2024

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.

nosami avatar nosami commented on June 6, 2024

👍 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.

peterblazejewicz avatar peterblazejewicz commented on June 6, 2024

old topic, non-closed when Nancy template landed.

from generator-aspnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.