Giter Site home page Giter Site logo

mohaamiry / organizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from momakkawi/organizer-sg

0.0 0.0 0.0 1.49 MB

A tool that automates the process of organizing system architecture files and folders based on the developer’s preference.

C# 100.00%

organizer's Introduction

Summary:

Organizer a tool called that automates the process of organizing system architecture files and folders based on the developer’s preference. So, for now, that could be used by the client to organize the structure of their source code or a part of it in compile time. This will result in more usable source code as it will be easier to surf, access and read.

Important note:

Currently, for special purposes, this project works in Compiled Time. Soon it will be presented, as it will work in Design Time, which is the most useful thing.

General idea:

This project is in the field of code generation, exactly in compile-time source code generation (source generator), It generates source code files during compile time. this project presents a source code generator created with Roslyn source generator (SG) for .NET developers. the SG presented is called Organizer. It meant to organize any unorganized C# code as requested by the client, by restructuring the base types (classes, interfaces, records, enumerations, structs) in different folders and files according to the needs of the client using a set of services. The meaning of unorganized code in the scope of The Organizer is C# code files full of base types.

The services provided by the Organizer are:

  • A service to create folder(s) to contain generated files.
  • A service to include base type(s) in a specific generated folder depending on a type name or a pattern.
  • A service to change the name(s) of specific type(s) depending on a base type name or pattern of multiple base types.
  • A service to ignore type(s) depending on a base type name or a pattern of multiple types.
  • Ability to exclude specific types from the creation or update patterns depending on a type name.

About techniques:

  • .NET Compiler Roslyn.
  • .NET Standard 2.0 for source generator development.
  • xUnit.
  • .NET 7.0.

Very-Well detailed documentation :

contributed by Eng. @Mohamad Amiri and Reviewed by me.

The Organizer Source Code Generator At Compile Time Documentation PDF Link

organizer's People

Contributors

momakkawi avatar mohaamiry avatar

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.