Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to control column number printing #2

Open
spookylukey opened this issue Oct 24, 2022 · 0 comments
Open

Add options to control column number printing #2

spookylukey opened this issue Oct 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@spookylukey
Copy link
Owner

spookylukey commented Oct 24, 2022

The current behaviour is to output a line for every AST match, which could be multiple per line, including column numbers. This is a good default, but we might want to add an argument to control this:

--column=none
--column=first
--column=all  # the current behaviour

--column=first would be the same as ripgrep's rg --column

I'm not sure how useful this would be in practice, so I'll only work on it if there is significant interest.

@spookylukey spookylukey added the enhancement New feature or request label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant