Commit Graph

91 Commits

Author SHA1 Message Date
Dominik Reh
59ec54b171 Fix duplicate wildcards
Would occur if the extension folder was also just "wildcards" due to recursive search
1.8.2
2022-10-29 10:08:20 +02:00
Dominik Reh
983da36329 Create tmp folder in root if it doesn't exist
Fixes extension installation on Linux, closes #46
2022-10-29 09:55:30 +02:00
Dominik Reh
48bd3d7b51 Support multiline prompts
Fixes #44
1.8.1
2022-10-28 19:04:41 +02:00
Dominik Reh
c6c9e01410 Formatting 2022-10-28 18:08:02 +02:00
DominikDoom
bf5bb34605 Update README.md 1.8.0 2022-10-28 17:58:59 +02:00
Dominik Reh
860fd34fb4 Support for wildcards from different extensions
Now scans all extensions for a wildcards folder and will combine them
Implements the feature discussed in #37
2022-10-28 17:47:23 +02:00
Dominik Reh
886de4df29 Support installing the script as an extension
Closes #41
2022-10-28 15:46:16 +02:00
Dominik Reh
3e71890489 Support wildcard extension in arbitrary folder
Now no longer only looks in "extensions/wildcards/widlcards".
This enables the user to call the folder whatever they like.
Fixes #37
2022-10-28 15:08:28 +02:00
Dominik Reh
dc77b3f17f Configurable debounce delay
Workaround for the problem in #40
2022-10-26 15:20:06 +02:00
Dominik Reh
40d53d89d1 Hotfix for old scripts/wildcards path loading 1.7.3 2022-10-25 00:45:35 +02:00
Dominik Reh
c733b836e8 Load wildcards on demand
Fixes performance issues with many wildcard files, fixes #38
2022-10-25 00:39:41 +02:00
Dominik Reh
b537ca3938 Add support for PageUp/Down and Home/End scrolling
Closes #34
1.7.2
2022-10-24 17:01:43 +02:00
Dominik Reh
cb08b8467f Support for new wildcards extension folder
Only works for "extensions\wildcards\wildcards\" and its subfolders at the moment.
Closes #35.
2022-10-24 16:07:58 +02:00
DominikDoom
522989da8a Update README.md 1.7.1 2022-10-24 14:06:22 +02:00
Dominik Reh
e8cf50cdaa Support png embeddings
Fixes #33
2022-10-24 14:01:44 +02:00
Dominik Reh
4af8d5285d Make left/right arrow key navigation optional
Fixes #31
2022-10-23 14:50:04 +02:00
Dominik Reh
3759ec055a Allow autocomplete with Tab key
Closes #29
2022-10-22 13:23:16 +02:00
DominikDoom
ced6676aa6 Update README.md 1.7.0 2022-10-18 22:24:01 +02:00
sgmklp
6b3b8ccf45 Some performance optimizations (#21)
Also includes code readability improvements and ability to load results in steps.
Useful for long lists or if showAllResults is true.
2022-10-18 22:21:33 +02:00
DominikDoom
353cb1937e Fix inline code not separated 1.6.0 2022-10-17 15:40:38 +02:00
sgmklp
c8c857f2cc Add Chinese README (#20) 2022-10-17 15:32:57 +02:00
DominikDoom
0112acb820 Move showAllResults next to maxResults in config 2022-10-17 15:03:54 +02:00
DominikDoom
896533c986 Added translation info to README 2022-10-17 14:47:36 +02:00
Dominik Reh
9fc9f1ab7d Don't capture keydown if CTRL or ALT is held
Prevents the script from blocking weight editing and prompt submit shortcuts
Fixes #19
2022-10-17 13:56:15 +02:00
DominikDoom
1d12fdcc6a Merge pull request #16 from sgmklp/dev
Ability to add translations in the main csv or additional files.
2022-10-17 11:07:49 +02:00
sgmklp
1387351d4d add match by class 2022-10-17 11:07:54 +08:00
sgmklp
4593a9a4e1 Update javascript/tagAutocomplete.js
Co-authored-by: DominikDoom <34448969+DominikDoom@users.noreply.github.com>
2022-10-17 10:46:44 +08:00
sgmklp
d5636f9026 also add Tags in extra file without translation 2022-10-17 03:47:26 +08:00
sgmklp
59ccb7ac19 will add new Tag in translation to tag list 2022-10-17 03:30:22 +08:00
sgmklp
d8ec8793fa keep the old match function avaliable 2022-10-17 02:03:45 +08:00
sgmklp
b0bc2d9b0b change the match function of translation 2022-10-17 01:57:21 +08:00
DominikDoom
c67fd336fd Add note about caching issues to README 2022-10-16 14:31:30 +02:00
Dominik Reh
5bf0451432 Support nested wildcards 2022-10-16 13:42:50 +02:00
sgmklp
046e2d99fb add a config option to show all result 2022-10-16 19:02:33 +08:00
sgmklp
cb31b072b4 chang maxResults to default 2022-10-16 13:51:08 +08:00
sgmklp
b858370acf allow use extra translation file 2022-10-16 13:43:03 +08:00
sgmklp
854b1952db . 2022-10-16 01:50:07 +08:00
sgmklp
f77283342e add search by translation 2022-10-16 01:47:53 +08:00
sgmklp
ae1ed19b7d suppost only show the translation to result 2022-10-16 00:00:39 +08:00
sgmklp
5f1b8c8da3 . 2022-10-15 23:06:19 +08:00
sgmklp
db6dcc9568 Make the tranlation in csv adding to result, also support Tag without tranlation. 2022-10-15 22:57:04 +08:00
DominikDoom
53899093c8 Merge pull request #15 from sgmklp/dev 1.5.1 2022-10-15 16:07:18 +02:00
Dominik Reh
f9d98740f4 Fix negative prompt autocomplete after UI change 2022-10-15 16:05:49 +02:00
sgmklp
534f07225e fix write wildcard files with Chinese name with wrong coding to wc.txt 2022-10-15 21:43:57 +08:00
Dominik Reh
b8b0673e2d Formatting 2022-10-15 15:32:23 +02:00
DominikDoom
2f0d18a73f Update README.md 1.5.0 2022-10-15 15:15:24 +02:00
Dominik Reh
e68e7389dd Fix for empty wildcard or embed lines showing in results list 2022-10-15 15:15:13 +02:00
Dominik Reh
b5cecc4e8d Fix for wildcard & embedding file extensions 2022-10-15 14:53:34 +02:00
Dominik Reh
96828c241c Enable wildcards and embeds by default
Since we now search automatically, the script also doesn't try to load anything if none are found
2022-10-15 14:39:26 +02:00
Dominik Reh
07d7eddf66 Move script to js folder for easier install 2022-10-15 14:32:41 +02:00