janestreet / janestreet/magic-trace

Demangle symbols names in fzf

Open
#82 2 comments 0 reactions 0 assignees View on GitHub
enhancement ui
Dominant language
OCaml
Stars
6.3k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

When showing the user an fzf to select a trigger symbol, show demangled symbols instead of mangled ones.

Symbols specified at the command line, I think, should still be mangled to ease copy+paste between apps and to avoid forcing us to write a name mangler too.

The message we show after a user selects a symbol should print its mangled name so the user can copy+paste it into future magic-trace invocations.

Contributor guide

Open the contributing guide

Research direction

Locate the fzf trigger-symbol selection flow and the message shown after a symbol is selected. Make the picker display demangled names while keeping command-line symbols and the post-selection message mangled, then verify both paths preserve copy-and-paste behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.