handzlikchris / handzlikchris/FastScriptReload
Feature : Add original filename to generated filename hash ?
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
It can become hard to read when you look at stacktraces with a lot of rewritten files. If they could be suffixed with the original filename (and shorter/incremental hash ?) it could be a blast.
```
C:/Users/../AppData/Local/Temp/04d60cd179c04742b6f4a2f89b2deeba.SourceCodeCombined.cs:800)
MoreLinq.MoreEnumerable:ForEach>> (System.Collections.Generic.IEnumerable`1>>,System.Action`2>, int>) (at C:/projects/morelinq/MoreLinq/ForEach.cs:57)
Characters.View.UnitGameStatsView__Patched_:OnPreviewStat (Characters.View.UnitPreviewStatSignal) (at C:/Users/../AppData/Local/Temp/04d60cd179c04742b6f4a2f89b2deeba.SourceCodeCombined.cs:783)
Characters.View.UnitGameStatsView__Patched_:OnEventObject (Characters.View.UnitPreviewStatSignal) (at C:/Users/../AppData/Local/Temp/04d60cd179c04742b6f4a2f89b2deeba.SourceCodeCombined.cs:747)
```
into
```
C:/Users/../AppData/Local/Temp/04d60cd179c0474.UnitGameStatsView.cs:800)
MoreLinq.MoreEnumerable:ForEach>> (System.Collections.Generic.IEnumerable`1>>,System.Action`2>, int>) (at C:/projects/morelinq/MoreLinq/ForEach.cs:57)
Characters.View.UnitGameStatsView__Patched_:OnPreviewStat (Characters.View.UnitPreviewStatSignal) (at C:/Users/../AppData/Local/Temp/04d60cd179c0474.UnitGameStatsView.cs:783)
Characters.View.UnitGameStatsView__Patched_:OnEventObject (Characters.View.UnitPreviewStatSignal) (at C:/Users/../AppData/Local/Temp/04d60cd179c0474.UnitGameStatsView.cs:747)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the generated filename hash logic in FastScriptReload and reproduce the stacktrace paths shown in the issue. The work is done when rewritten source paths include the original filename and use a shorter or incremental hash without losing path uniqueness.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- devtools, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100