#95: GHCi :edit command should jump to the the last error
--------------------------------------+-------------------------------------
Reporter: martijnislief | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: _|_
Component: GHCi | Version: None
Resolution: None | Keywords:
Difficulty: Easy (less than 1 hour) | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
--------------------------------------+-------------------------------------
Changes (by simonmar):
* failure: => None/Unknown
* summary: GHCi editor binding with ":e" => GHCi :edit command should
jump to the the last error
* milestone: 6.12 branch => _|_
Old description:
> {{{
> For me, a very useful feature of Hugs is the ":e" command,
> allowing to jump directly to the file and line number that
> contain the first error.
>
> I'd be very happy if GHCi supported this feature.
> }}}
New description:
GHCi has a `:edit` command for editing the current source file. Hugs's
command of the same name automatically jumps the editor to the location of
the last error; it would be nice if GHCi's did the same.
Comment:
You can define it yourself, but it's a bit hacky and it would clearly be
better to have it built-in. This is also a small self-contained task
(limited to the GHCi front end) that a new contributor could take on.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/95#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs