-
Notifications
You must be signed in to change notification settings - Fork 306
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
[Feature Request] - Allow for names of Styles (found on the right side pulldown) to be included for autocomplete. #268
Comments
Took me a bit longer than expected, but I added a new option called "Search for webui style names" for it. Since it currently needs the style-vars extension to really make sense, it's off by default, but should work out of the box after enabling. Maybe I will someday try to load the content of the style directly similar to wildcard files, but for now this should be good enough together with style-vars. Most basic stuff from the style-vars extension should work. It auto-includes the parentheses if the name contains spaces and will also respect the index markers like $1(...) for the multi-part usage. It also checks for style changes, so no need to reload after adding/removing one. Let me know if you encounter any issues with this. |
Thanks so much for the implementation and explanation! |
Testing it now and works great! I do notice that if I pick a style that has spaces, parenthesis are applied, but then the name of the style itself is added/left in the prompt along with its prompt terms. I'm not sure if this is 1) Expected functionality or 2) Perhaps an issue on the "Styles as Variables" side? IMHO it'd be best that if in all cases the name of the style is replaced w/ the prompt terms. |
Hi! Love your extension, I've been using it since the very beginning and it's one I really consider essential for me to have a good experience w/ A1111.
I'm wondering if an option to add the names of styles (found on the right pulldown) to the list of items that can be autocompleted could possibly be added? There's a relatively new extension for A1111 that allow you to use Styles as variables in prompts by putting a $ in front of the name. Many of us have 100s of Styles in the style list and recalling their names by memory is often difficult.
I think it'd be fantastic if an option (settings toggle?) to include names of styles in the autocorrect list could be added. I use tagcomplete often to pull up wildcard files of which I have hundreds of - I'd forsee this enhancement as being similar to that but just with Style names.
Thanks for any insight/Consideration!
Styles as Variables extension for A1111: https://github.com/SirVeggie/extension-style-vars
The text was updated successfully, but these errors were encountered: