digitalmars.D - dmd --fileprefix=$PWD/ to show custom file prefix before error
- Timothee Cour via Digitalmars-d (10/10) Sep 29 2016 I'd like to be able to customize rendering of files (eg in error message...
I'd like to be able to customize rendering of files (eg in error messages) output by dmd, eg: dmd XXX 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).
Sep 29 2016