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

Plugin proposals #21

Closed
3 tasks
SplittyDev opened this issue May 4, 2018 · 5 comments
Closed
3 tasks

Plugin proposals #21

SplittyDev opened this issue May 4, 2018 · 5 comments

Comments

@SplittyDev
Copy link

Hey, awesome work with this tool!

Here are some plugin ideas that I'd find very useful.

Search

  • Wildcard search (*.php, *.txt, etc.)

Development Tools

  • npm package resolver and shortcuts (npm i, npm start)
  • crates package resolver
@oliverschwendener
Copy link
Owner

Thank you for your feedback!

Wildcard search functionality is already there. I think what you want is to search the whole computer (or user specified folders), is that correct? At the moment only the home folder is scanned for folders and files (but not recursively).

What do you exactly mean with "package resolver and shortcuts"? Can you explain it with more details please?

@SplittyDev
Copy link
Author

Hey,

yeah I was thinking of a computer-wide wildcard search for filenames.
Not sure how that could be efficiently implemented, maybe by asynchronously building a cache of filenames in the background with their directories, and lazily updating/invalidating it at runtime.

About the development tools, I was thinking of simply fetching packages from well-known package registries (like npm, hackage, crates etc.)

An example:
I type npm tensor and the suggestions are tensor, tensorflow2, tensor-product etc.,
fetched directly from the npmjs.com search (https://www.npmjs.com/search?q=<SEARCH-TERM>).

That would be really helpful for developers and could also be extended to allow installing/updating the packages by invoking npm i --save.

@oliverschwendener
Copy link
Owner

Ok I see, but where do you expect the packages to be installed?

@SplittyDev
Copy link
Author

Oh, haha sorry I didn't think of that.

For npm packages, you could install packages globally (npm i -g <package>).
For cargo (crates.io), a simple cargo install <package> also installs it globally.

Of course, saving packages to the dependency file is not possible from within ueli.

@oliverschwendener
Copy link
Owner

I am sorry but I can't implement this feature (yet) for the following reasons:

  • This feature is only for a very specific type of user so this should be an optional plugin/package
  • I don't have any kind of plugin/package manager for ueli yet
  • My current "plugin architecture" is synchronous and if I want to fetch data from an API the search results should be processed asynchronously

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

No branches or pull requests

2 participants