revel/revel — pull request #719 by JaTochNietDan (2014-09-11 15:11:46+00:00)
Title: Better error parsing and using subl-handler

Hey, I was getting frustrated at some of the error reporting so I decided to see what I could do to improve it. Some errors would not come up on the page, usually ones that were not syntax errors but stuff like trying to access a field on a struct that didn't exist or initializing a variable that is never used.

Additionally, the coolest part is I now make use of [subl-handler](https://github.com/ktunkiewicz/subl-handler) which allows you to click a link to open a file in various editors at the specified line. It supports the subl:// URL handler for which there are versions on various platforms, not just Windows.

The result is this:
![Error reporting](http://i.imgur.com/QP4L0yk.png)

When you click on the link, provided you have a subl:// handler installed, it'll take you directly to the file on the line giving the error.