Git Product home page Git Product logo

generator-csharp's Introduction

OmniSharp

OmniSharp Organization repo for project coordination, global communication and other organizational topics.

Please do not use this repo to open bugs/support issues - use the project repository relevant to the product you are using (e.g. C# Extension for VS Code, VIM plugin, Emacs plugin, OmniSharp server and so on) instead.

License

Copyright © .NET Foundation, and contributors.

OmniSharp is provided as-is under the MIT license. For more information see LICENSE.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Contribution License Agreement

By signing the CLA, the community is free to use your contribution to .NET Foundation projects.

.NET Foundation

This project is supported by the .NET Foundation.

generator-csharp's People

Contributors

sayedihashimi avatar shmuelie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-csharp's Issues

Add Mocha Test cases

We should add mocha test cases like [generator-aspnet](https://github.com/OmniSharp/generator-aspnet) has.

When @spboyer implemented the test cases initially he found a bunch of issues. I think we should get this project started off on the right foot and have the test cases in place so that users don't run into the issues that @spboyer found while implementing the mocha test cases.

@SamuelEnglard you can take a look at the existing generator-aspnet test cases, and if have questions please reach out to @spboyer.

Add subgenerators

We should add the following sub-generators (item templates) for the initial release.

  • New class
  • New interface
  • app.config
  • AssemblyInfo.cs (called Assembly Information File in VS New Item dialog)
  • Resource File
  • xUnit test case

For the items above all should be equivalent to VS2015 New Item dialog. For xUnit we can base the content off their getting started guide at http://xunit.github.io/docs/getting-started.html#write-first-tests.

For info on how to implement the sub-generators you can see the generator-aspnet sub-generators at https://github.com/OmniSharp/generator-aspnet.

Ideally each PR will have mocha test cases that cover the additions. For examples on how to implement this see the tests in generator-aspnet https://github.com/OmniSharp/generator-aspnet/tree/master/test.

What's missing?

We recently got started on this project and for the initial release we are thinking to have the following content below.

Generators (project templates)

  • Class library
  • Portable class library
  • Console app
  • xUnit test project

Sub-generators (item templates)

  • New Class
  • New Interface
  • app.config
  • AssemblyInfo.cs
  • Resource file
  • xUnit test case

I'd like to find out what you think is missing here and how we can make this better.

Are you accepting pull requests?

Hi,

With the release of Visual Studio 2015 Update 1 and the "Script Mode" I think it will be great to have a startup for a C# Script into the generator.

Are you accepting Pull Requests?

Add xUnit test project

We should add a xUnit Test generator.

The reason why we are using xUnit instead of MSTest here is because xUnit is very popular on xplat and is gaining ground in Windows as well IMO.

Here is a link which describes how to create a new xUnit project from a class library project http://xunit.github.io/docs/getting-started.html.

Ideally each PR will have mocha test cases that cover the additions. For examples on how to implement this see the tests in generator-aspnet https://github.com/OmniSharp/generator-aspnet/tree/master/test.

Enable a --fx option?

In #12 we are discussing the idea of having a switch `--fx`` where users can specify the target framework version for the created project.

If passed the value would simply populate the <TargetFramework> element in the .csproj file. This would be similar to the --gulp option available in the asp.net 5 yo generators.

Thoughts?

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.