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

Feature request: Being able to search through columns #102

Open
jargot opened this issue Sep 14, 2024 · 1 comment
Open

Feature request: Being able to search through columns #102

jargot opened this issue Sep 14, 2024 · 1 comment

Comments

@jargot
Copy link

jargot commented Sep 14, 2024

Current Behavior

  • CSV viewer allows searching within rows using /
  • Cannot search through column names (headers)

Desired Behavior

  • Extend search functionality to include column headers

Why?

  • Improve navigation in large datasets
  • Quickly find specific columns

Suggestion

  • Use existing / search to include headers, or
  • Add new keybinding for header-only search (e.g., ?)

Minimal repro:

id,first_name,last_name,email,occupation,salary
1,John,Doe,[email protected],Engineer,75000
2,Jane,Smith,[email protected],Manager,85000
3,Bob,Johnson,[email protected],Designer,70000

^ Try to search for "email" and you will get 0 match.

@seekstar
Copy link

I also need this feature because my CSV file has many columns. I prefer searching within headers with the key ?, which would be faster than searching inside the whole CSV file if the file is large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants