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

Settings > Insert space after auto completion #3214

Open
j-a-s-o-n-g opened this issue Jan 31, 2025 · 2 comments
Open

Settings > Insert space after auto completion #3214

j-a-s-o-n-g opened this issue Jan 31, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@j-a-s-o-n-g
Copy link

j-a-s-o-n-g commented Jan 31, 2025

So a few of the plugins I use accept a query/argument. So it includes an <action keyword> <option> <argument>, such as:

r yt-dlp youtube.com/?v=whatever

As it is currently, I launch Flow Launcher, type in "r", then the suggestions pop up, I use the keyboard to navigate to the one I want or type in a few of the beginning letters, I hit the CTRL+Tab binding to auto-complete, and then I HAVE to press space and then paste. If I don't, then the option and the argument are considered the same thing and obviously doesn't work.

Not the end of the world, but it only makes sense if you're autocompleting an option from the list, and it requires a argument, that it should auto-add the space.

Adding a space to most autocompletes doesn't seem to break anything, even to things that don't have options or arguments, so a blanket setting to add a space after ALL autocompletes would be great for me. If you can intelligently detect if there are arguments and conditionally add a space, that would be 5Head, but not necessary for what I need it for.

Thanks!

  • A huge fan <3
@j-a-s-o-n-g j-a-s-o-n-g added the enhancement New feature or request label Jan 31, 2025
@cibere
Copy link
Contributor

cibere commented Jan 31, 2025

If you're talking about just adding a space to the end of the autocomplete, ex: foo -> foo , then that will indeed break stuff (#2605). You should probably create an issue on the plugin's repo asking for a space to be added on the plugin's side, instead of on flow's side.

@j-a-s-o-n-g
Copy link
Author

j-a-s-o-n-g commented Jan 31, 2025

Thanks @cibere, that's unfortunate to hear. I went ahead and added a suggestion to the plugin(s) I think should incorporate this change.

Perhaps there is still some kind of way FlowLauncher can intelligently add a space when it detects options instead of always adding a space then. 🤔

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

2 participants