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

file picker: getting the path to the file under the cursor #658

Open
nilssonemil opened this issue Nov 2, 2024 · 0 comments
Open

file picker: getting the path to the file under the cursor #658

nilssonemil opened this issue Nov 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nilssonemil
Copy link

Is your feature request related to a problem? Please describe.
I'd like to be able to use the file/directory that the cursor is currently on without having to "select" it. This would give me the ability to execute multiple distinct actions with the file picker and not be limited the only select.

Describe the solution you'd like
Expose a public method on the file picker model that returns the file/directory under the cursor.

Describe alternatives you've considered

  • It may be possible to keep track of the path outside of the file picker.
  • One could argue that this functionality does not belong in a file picker, and in that case I'd have to create a custom component which is very similar.
@nilssonemil nilssonemil added the enhancement New feature or request label Nov 2, 2024
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