BetterErrors / BetterErrors/better_errors

Allow loading more code into the trace_info box

Open
#370 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
6.9k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

The trace_info box is nice but miss a way to load some more code.

The ideal world would be that the trace_info shows the current method definitions, the hidden code replaced with suspension points, then the current code as it is now, the rest of the method code hidden with suspension points and then `end` of the current method.

The suspension points could be replaced by an expand icon, be clickable so that the reste of the code is loaded. This is the way github do in diff

![screen shot 2017-04-25 at 10 44 30](https://cloud.githubusercontent.com/assets/478564/25376371/2f3f5bc0-29a4-11e7-94d1-56a41c6cbf6b.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.