NTypewriter
csharpier
Our great sponsors
NTypewriter | csharpier | |
---|---|---|
8 | 36 | |
109 | 1,128 | |
- | - | |
8.3 | 9.3 | |
13 days ago | 8 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NTypewriter
-
This week I released v2.1 of my text-templating library Weave that now uses Source Generators by default.
I am currently using NTypewriter for code generation.
-
Embedded source generation?
With NTypewriter you can generate anything. It connects Scriban templates with data exposed from Roslyn API. You can run templates from VS (design time) or embed them (run time) into your application with the help of Buildalayzer.
-
Typescript models to C# POCOs
With NTypewriter you can generate clients for any language (TS, Java), because you have full control over generated code, but similar to other tools, it uses C# as an input language.
- A useful project I found a couple months ago
-
Code generator like plop.js for dotnet
You can use NTypewriter for that, it is mainly for generating typed TS clients, but in general, you can generate whatever you want.
- Library for generating C# code strings programmatically(Or "Object Oriented-ly")?
-
Tools you use to help you with rapid application development.
You can try to use NTypewriter for code generation, but its main purpose is generation of java script clients for APIs or documentation.
-
Best, most useful extensions for Visual Studio 2022?
NTypewriter is better and alive, but I am definitely biased.
csharpier
- 100% deterministic c# formatter
-
Is there an all-in-one code style solution yet?
Maybe check out https://csharpier.com/. I've never used it but am curious
-
Would you welcome top Level functions in C#
You're coupling your code in some manner whether you are calling static methods or instance methods. But yes, static methods aren't really mockable, so depending how you test it could bite you. However https://github.com/belav/csharpier makes extensive use of static methods and is incredibly well tested.
- how to bring order to a legacy codebase using editorconfig and dotnet format? it is only fixing whitespace issues
-
Dotnet, C#, code format on JetBrain IDE Rider
CSharpier
-
top 5 things every c# developer should know
I'm kind of hoping https://github.com/belav/csharpier becomes the norm.
- Does anyone have the default/standard resharper roslyn equivalent rules (or close) in an .editorconfig?
- Enforcing .NET code style rules at compile time
-
SourceGenerator.Foundations
https://github.com/belav/csharpier/tree/master/Src/CSharpier.Generators is an example.
-
How to apply formatting style/rules to an existing C# code base?
I'm biased (since I wrote it), but I've found nothing compares to using https://github.com/belav/csharpier
What are some alternatives?
Typewriter - Automatic TypeScript template generation from C# source files
format - Home for the dotnet-format command
Textrude - Code generation from YAML/JSON/CSV models via SCRIBAN templates
EditorConfig - A very generic .editorconfig file supporting .NET, C#, VB and web technologies.
TemplateStudio - Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
NumSharp - High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
easygen - Easy to use universal code/text generator
StyleCopAnalyzers - An implementation of StyleCop rules using the .NET Compiler Platform
scriban - A fast, powerful, safe and lightweight scripting language and engine for .NET
prettier - Prettier is an opinionated code formatter.
jntemplate - jntemplate is an fast and lightweight html templating engine for C# .NET.
Visual Studio Uninstaller