dmd --fileprefix=$PWD/ to show custom file prefix before error messages
Timothee Cour via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 29 11:37:27 PDT 2016
I'd like to be able to customize rendering of files (eg in error messages)
output by dmd, eg:
foo/bar.d: Warning: statement is unreachable
dmd --fileprefix=mydir/ XXX
mydir/foo/bar.d: Warning: statement is unreachable
this makes it easy to allow user to see where errors came from even after
changing directories. Eg, on OSX iterm2 allows clicking on file links, when
connecting to a server (mounted somwhere), this would allow the user to
simply click on a file and trigger action (open with editor).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d