All Projects → cezarypiatek → SmartCodeGenerator

cezarypiatek / SmartCodeGenerator

Licence: MS-PL license
No description or website provided.

Programming Languages

C#
18002 projects

Labels

Projects that are alternatives of or similar to SmartCodeGenerator

Bridge
♠️ C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.
Stars: ✭ 2,216 (+5889.19%)
Mutual labels:  roslyn
Platform Compat
Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
Stars: ✭ 250 (+575.68%)
Mutual labels:  roslyn
code-contracts-remover
tool for removing .net code contracts from project
Stars: ✭ 13 (-64.86%)
Mutual labels:  roslyn
Scriptcs
Write C# apps with a text editor, nuget and the power of Roslyn!
Stars: ✭ 2,343 (+6232.43%)
Mutual labels:  roslyn
Csharp Source Generators
A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
Stars: ✭ 218 (+489.19%)
Mutual labels:  roslyn
Analyzers
C# code analyzers
Stars: ✭ 18 (-51.35%)
Mutual labels:  roslyn
Roslynator
A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.
Stars: ✭ 2,221 (+5902.7%)
Mutual labels:  roslyn
experimental-tools
A bunch of quality refactorings and code fixes that are going to improve your C# development experience in Visual Studio and remove some common pain.
Stars: ✭ 19 (-48.65%)
Mutual labels:  roslyn
Roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Stars: ✭ 15,296 (+41240.54%)
Mutual labels:  roslyn
DynamicRun
Dynamically run code using .NET 7, Roslyn and AssemblyLoadContext
Stars: ✭ 83 (+124.32%)
Mutual labels:  roslyn
Seriloganalyzer
Roslyn-based analysis for code using the Serilog logging library. Checks for common mistakes and usage problems.
Stars: ✭ 214 (+478.38%)
Mutual labels:  roslyn
Retyped
Access 3600+ libraries from C# and let Bridge.NET compile your project into JavaScript.
Stars: ✭ 216 (+483.78%)
Mutual labels:  roslyn
Avalonia.PropertyGenerator
Avalonia.PropertyGenerator generates the appropriate CLR members for Avalonia property definitions.
Stars: ✭ 20 (-45.95%)
Mutual labels:  roslyn
Pluginframework
Everything is a Plugin in .NET
Stars: ✭ 197 (+432.43%)
Mutual labels:  roslyn
Cometary
Roslyn extensions, with a touch of meta-programming.
Stars: ✭ 31 (-16.22%)
Mutual labels:  roslyn
Meziantou.analyzer
A Roslyn analyzer to enforce some good practices in C#.
Stars: ✭ 189 (+410.81%)
Mutual labels:  roslyn
Norns
dotnet core aop static weaving on roslyn
Stars: ✭ 23 (-37.84%)
Mutual labels:  roslyn
CqrsMessagingTools
jelster.github.com/CqrsMessagingTools/
Stars: ✭ 39 (+5.41%)
Mutual labels:  roslyn
ThisAssembly
Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.
Stars: ✭ 209 (+464.86%)
Mutual labels:  roslyn
icsharp.kernel
Roslyn based C# kernel for Jupyter Notebook
Stars: ✭ 26 (-29.73%)
Mutual labels:  roslyn

This project is a completely refactored version of CodeGeneration.Roslyn

How to create a custom plugin

  1. Create .NET Core 3.0+ project
  2. Install SmartCodeGenerator.Sdk NuGet package
  3. Define the attribute that will be used for marking places that trigger your code generation plugin
  4. Create a class that implements SmartCodeGenerator.Sdk.ICodeGenerator and it's marked with [CodeGenerator()] attribute.
  5. Build your project and publish the NuGet package.

How to use a custom plugin

  1. Install SmartCodeGenerator.Engine NuGet package
  2. Install the package with your plugin
  3. Add source code of the marking attribute into your codebase
  4. Since now you can start marking code with your attribute and after recompilation, the generated code should be available at your disposal.

IMPORTANT: The source code of the marking attribute need to be copied into a consuming project because there should be no runtime dependency between the project that uses the generator plugin and the generator plugin itself.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].