GNOME Bugzilla – Bug 774998
Text insertion at wrong position while expanding snippets
Last modified: 2018-01-11 10:13:15 UTC
I create new class. After I type "pub" and press Tab I don't get "public" but IDE insert "public" in text above and delete close bracket on next line. If I write something and press backspace IDE does'n remove this word but cursor moves on next line. I record small video https://drive.google.com/file/d/0BziQCLYZMd2jajFGYzRwT1VQR0k/view
So the problem here is caused by the snippet engine. While that "blue background rectangle" is drawn behind the snippet area, we try very hard to ensure that we capture input to the current "snippet tab-stop". That has some unfortunate side-effects today that are very difficult to fix correctly with GtkTextView. There are two workarounds I can think of: 1) Hit Escape to exit snippet expansion mode. 2) Use Tab to move to the next tab-stop (which should be the end, and land you in a position to extend the class).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-builder/issues/156.