Somerset, UK
Always developing.
Comment by ~ianmjones on ~ianmjones/snippetexpander
REPORTED
RESOLVED FIXEDComment by ~ianmjones on ~ianmjones/snippetexpander
This will be in Snippet Expander v1.1.0.
Here's a little demo: https://youtu.be/KClKlQcNDC8
Thanks for the bug report ~traceyc.
Comment by ~ianmjones on ~ianmjones/snippetexpander
Ian M. Jones referenced this ticket in commit b6f9a10.
REPORTED
RESOLVED FIXEDComment by ~ianmjones on ~ianmjones/snippetexpander
I can reproduce the problem whereby if an abbreviation ends with another shorter abbreviation, the shorter end abbreviation expands, e.g, with these 2 snippets:
"w`" => "World"
"hw`" => "Hello, World"
Typing "hw`" results in "hWorld" instead of the expected "Hello, World".
That's definitely not how it's supposed to work, it should recognise that there's a longer matching abbreviation and expand that.
Thanks for the bug report (I'll trim out the UTF8 stuff as that's covered by #19).
Comment by ~ianmjones on ~ianmjones/snippetexpander
Yeah, it's very hit and miss at the moment as to what combination of application, desktop environment and protocol will work.
As you've noticed, Budgie is currently pretty good, and you should find GNOME pretty good on X server too, because the AT-SPI2 integration is good for GTK apps.
Once you steer away from GTK on X, it starts to get a little rougher. Although, if you use i3 or sway, you should find them working pretty well too, if GTK is set up correctly.
This is why the Search and Paste window exists, not only because it's handy when you can't quite remember that abbreviation you need, but also because copy/paste is way more reliable across app frameworks, desktop environments and protocols (although Wayland is still lagging compared to X for automatic paste).
Terminals are a whole other problem, I've yet to tackle auto-expansion on them. I recommend using the Search and Paste window, holding the shift key when selecting a snippet so that it does a
Shift
+Ctrl
+v
, which generally works.
Comment by ~ianmjones on ~ianmjones/snippetexpander
When on Plasma, if you go into the setting for Snippet Expander, does it show the shortcut, or does it say that it can't create shortcuts?
If it shows the shortcut on Plasma, did you first set it on GNOME or Budgie, and then switch to Plasma?
Basically, this is a known problem on KDE Plasma, the automatic creation of the default shortcut is not supported on KDE Plasma, yet. At the moment, you'll need to create a custom shortcut in Plasma's keyboard settings for
snippetexpandergui --search-and-paste
.
bug added by ~ianmjones on ~ianmjones/snippetexpander
bug added by ~ianmjones on ~ianmjones/snippetexpander
bug added by ~ianmjones on ~ianmjones/snippetexpander
bug added by ~ianmjones on ~ianmjones/snippetexpander