example: > dmd/declaration.d(796): Error: undefined identifier `o` but when you have dmd dub.sdl loaded in an IDE the IDE will try to solve relative path from "src" hance the error messages wont be clickable. I believe this is caused by the fact that the build script is located in src/ and not in the repo root.
added support for this in dexed [1]. I close because this problem existed even before build.d. [1] : https://gitlab.com/basile.b/dexed/-/commit/9ee7f4daabb9d8d5ec4eb33b82fdd9eeff049933
dlang/dmd pull request #11157 "Fix issue 20825: paths in error messages from build.d should be click…" was merged into master: - 3931e7e23dab87522d081cdc5a0c140995177fdc by MoonlightSentinel: Fix issue 20825: paths in error messages from build.d should be clickable https://github.com/dlang/dmd/pull/11157