AriaMinaei / AriaMinaei/pretty-error

Feature request: show filtered line but dim it

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
CoffeeScript
Stars
1.5k
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Filtering is very useful to cleanup the stacktrace.
However often the stacktrace could be strange to read especially when there are anonymous entries. It would be nice if there were an option to mark filtered entries so the filtered line could be outputed also but style with render kid as less important entry. Of course this makes only sense in color output mode.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the stacktrace filtering and color-output rendering paths. Confirm how filtered entries are currently omitted, then define the option's behavior so filtered lines remain visible but are styled as less important only in color output; done means the option works without changing default filtering.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, node.js
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.