Closed NMSAzulX closed 2 months ago
This update involves multiple renaming and refactoring tasks throughout the Natasha.CSharp.HotExecutor
module. Key changes include updating helper class names to a standardized HE*Helper
convention, enhancing functionality with new methods, and improving internal class structures for clearer distinctions between generic and non-generic implementations.
File Path | Change Summary |
---|---|
.../SyntaxPlugin/CS0104Plugin/CS0104TriviaPlugin.cs |
Updated Handle function to call HECommentHelper.GetCommentScript instead of CommentHelper.GetCommentScript . |
.../SyntaxPlugin/OutputPlugin/OutputTriviaPlugin.cs |
Updated references to CommentHelper to HECommentHelper in functions for generating comment scripts based on release or debug mode. |
.../ReCompile/HECompiler.cs |
Added new method .WithFileOutput() to the _builderCache instance to enhance the compilation process. |
.../ReCompile/Utils/HECommentHelper.cs |
Renamed CommentHelper class to HECommentHelper . |
.../ReCompile/Utils/HEDelegateHelper.cs |
Separated generic and non-generic versions of HEDelegateHelper and added new methods for delegate retrieval and execution. |
.../ReCompile/Utils/HESpinLockHelper.cs |
Renamed internal class HESpinLock to HESpinLockHelper . |
.../ReCompile/Utils/VSCSProjectInfoHelper.cs |
Renamed VSCSharpProjectInfomation class to VSCSProjectInfoHelper and updated the static constructor name accordingly. |
.../ReCompile/VSCSMainProjectWatcher.cs |
Renamed VSCSharpMainFileWatcher to VSCSMainProjectWatcher , updated internal field _compileLock to _compileLockHelper , and updated references to VSCSProjectInfoHelper . |
In the code's vast garden, changes bloom, Helpers now with names that groom. From locks that spin to delegates true, Each line refined, a task to pursue. Ventures old and new, side by side, In Natasha's world, we take pride. 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
未检测到合适的 ISSUE 推荐给您。感谢您的反馈!
该条自动推荐信息来自于 nms-bot.
1 tests 1 :white_check_mark: 0s :stopwatch: 1 suites 0 :zzz: 1 files 0 :x:
Results for commit 7620a94c.
1 tests 1 :white_check_mark: 0s :stopwatch: 1 suites 0 :zzz: 1 files 0 :x:
Results for commit 7620a94c.
Summary by CodeRabbit
New Features
.WithFileOutput()
to enhance the compilation process.Refactor
CommentHelper
toHECommentHelper
DelegateHelper
toHEDelegateHelper
HESpinLock
toHESpinLockHelper
VSCSharpProjectInfomation
toVSCSProjectInfoHelper
VSCSharpMainFileWatcher
toVSCSMainProjectWatcher