Suggestion: Show line number in ambr, when stepping through the matches
Closed this issue · 3 comments
Boscop commented
Suggestion: Show line number in ambr, when stepping through the matches.
dalance commented
ambr supports --column
option like below:
$ ambr --column version version2
./src/ambr.rs: 23:#[structopt(raw(long_version = "option_env!(\"LONG_VERSION\").unwrap_or(env!(\"CARGO_PKG_VERSION\"))"))]
Boscop commented
Ah thanks, I didn't that, I'll try it.
But it would be useful to show the line numbers by default to at least give a little context.
dalance commented
I added config support.
If there is ~/.ambr.toml
like below, showing line number becomes default.
column = true