-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
featureNew feature or requestNew feature or requestuser-code-rewriteRelates to code rewrite that tool performs on user code to make it compilable / redirect-readyRelates to code rewrite that tool performs on user code to make it compilable / redirect-ready
Description
It seems doable to manually rewrite outputs so that methods with caller attributes can redirect to original file
Said method example
public static void Trace(string module, string message, UnityEngine.Object extraInfo, [CallerMemberName] string methodName = null, [CallerFilePath] string fileName = null, [CallerLineNumber] int lineNo = -1, bool stacktrace = false)//Original file myFile.cs - Right now rewrites leaves it as is
1203: Logger.Debug("Test", "Go here", gameObject);
//Proposed feature "Rewrite caller attributes"
1267 : Logger.Debug("Test", "Go here", gameObject, "CallerMethod", "Path/To", "myFile.cs", 1203);This would streamline development process so one could jump back to hotreloaded files easily.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestuser-code-rewriteRelates to code rewrite that tool performs on user code to make it compilable / redirect-readyRelates to code rewrite that tool performs on user code to make it compilable / redirect-ready