Skip to content

Conversation

@Garulf
Copy link
Member

@Garulf Garulf commented Dec 5, 2021

Adds Auto Complete support to the file explorer plugin

Fix misaligned suggestion text
@Garulf Garulf added enhancement New feature or request Explorer Plugin Issue or Enhancement Link to Explorer Plugin labels Dec 5, 2021
@Garulf Garulf self-assigned this Dec 5, 2021
@Garulf
Copy link
Member Author

Garulf commented Dec 6, 2021

Need to support a custom action keyword and should be good to go.

@jjw24
Copy link
Member

jjw24 commented Dec 6, 2021

what do you mean? in this pr?

@Garulf
Copy link
Member Author

Garulf commented Dec 6, 2021

what do you mean? in this pr?

Yeah, adding as we speak... If the user has a custom keyword we need to append it to autocomplete

@jjw24
Copy link
Member

jjw24 commented Dec 6, 2021

oh right, yes.

@Garulf
Copy link
Member Author

Garulf commented Dec 6, 2021

Moved some stuff around so we don't repeat too much logic...

Come to think of it... should Enter be changed to open the directories?

@jjw24
Copy link
Member

jjw24 commented Dec 7, 2021

no, enter goes into the directory, i am actually wanting to change Everything plugin's enter functionality.

Comment on lines 22 to 23
Keyword = Settings.SearchActionKeywordEnabled ? Settings.SearchActionKeyword : Settings.PathSearchActionKeyword;
Keyword = Keyword.ToString() == Query.GlobalPluginWildcardSign ? string.Empty : Keyword + " ";
Copy link
Member

@jjw24 jjw24 Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see why you did it this way, but because the action keyword could change during the runtime of the app, this means Keyword is only set once during Init and with a new string value. We need to get this dynamically because could change anytime.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am working on tweaking this, will push up when done.

Copy link
Member Author

@Garulf Garulf Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing it worked even when hotkey changed.

Edit: Never mind you're right.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, please test it now

@Garulf
Copy link
Member Author

Garulf commented Dec 7, 2021

f741420 is working thanks!

@Garulf Garulf merged commit efd2b78 into Flow-Launcher:dev Dec 8, 2021
@jjw24 jjw24 added this to the 1.9.0 milestone Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Explorer Plugin Issue or Enhancement Link to Explorer Plugin

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants