Richasy / FantasyCopilot

A new-age AI desktop tool
MIT License
430 stars 19 forks source link

Remove plugin solution, add string names generator #49

Closed Richasy closed 1 year ago

Richasy commented 1 year ago

Description

This is a code refactoring endeavor.

  1. Migrate the CorePlugin project to a new repository.
  2. Utilize the Source Code Generator to automatically generate enumerations when modifying text resource files.

PR type

What is the purpose of this PR?

What is the current behavior?

  1. Modifications to the core repository may introduce pull requests that are unrelated to the main project, which, in the long run, can impede maintainability.
  2. Every time I add new textual resources, I always have to begin by incorporating new enumerations, followed by modifying the resw file. It can be quite cumbersome at times.

What is the new behavior?

  1. Divide the project in order to separately maintain the core library.
  2. Introducing a source code generator would allow for the modification of the resw files, thereby enabling the automatic generation of enumerations.

PR checklist

Please check that your PR meets the following requirements: