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

Improved Path Completion #3059

Open
seantur opened this issue Dec 4, 2024 · 0 comments
Open

Improved Path Completion #3059

seantur opened this issue Dec 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@seantur
Copy link
Contributor

seantur commented Dec 4, 2024

Description

One of marimo's features that I use a lot is the path completion. When you start typing and marimo recognizes the string as a path, it will provide a list of files and directories under that path.

As far as I can tell you need to provide the first letter in order to trigger this, but oftentimes I don't know exactly what is in the folder. I would love for the list to populate automatically without requiring the first letter, or allow a keyboard shortcut like TAB to trigger it.

Here I have a directory foo with subfolders aa, ab, ac and bd, be, bf. I have to type 'foo/ato get the recommendations for aa, ab, ac. I would love to have all of the recommendations available with just 'foo/

Image

Suggested solution

Either automatically or with a keyboard shortcut show all available files and directories under a path.

I think the way that JupyterLab handles this is that a TAB will trigger the list of sub-paths, and subsequent TABs will cycle through the list. This would be the ideal behavior for me I think.

Image

Alternative

No response

Additional context

No response

@seantur seantur added the enhancement New feature or request label Dec 4, 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