FastScriptReload icon indicating copy to clipboard operation
FastScriptReload copied to clipboard

inconsistent line numbers?

Open tylearymf opened this issue 2 years ago • 1 comments

The compiled script of FSR has a different number of lines compared to the original script, due to the additional comments at the beginning. Have you considered maintaining consistency?

image

tylearymf avatar Apr 12 '23 06:04 tylearymf

I've added a task to add option in UI to turn that off

For now you can adjust here FastScriptReload.Editor.Compilation.DynamicCompilationBase.CreateSourceCodeCombinedContents:177

sourceCodeCombinedSb.Append(DebuggingInformationComment);

just comment that one out

handzlikchris avatar Apr 12 '23 08:04 handzlikchris