GNOME Bugzilla – Bug 672320
Popup for default selections not appearing
Last modified: 2012-08-14 12:54:04 UTC
"Using the syntax ${n:[value1,value2,value3]}, you can provide multiple choices for the default value. When you tab into this placeholder, a completion popup will show you the available choices so that you can quickly pick one." Can anyone confirm that default selections work in gedit 3's snippets? Since upgrading to v3, I can't select options anymore. That is, for HTML, given: <input type="${1:[button,checkbox,file,hidden,image,password,radio,reset,submit,text]}" name="${2:some_name}" value="$3" id="${5}" /> if you type "inputTAB" you should get a choice of the type, but I don't.
The selection does not work on my system either (using gedit 3.4.2 on Fedora 17): tested with: <snippet> <text><![CDATA[${1:[hello,world]} $0]]></text> <tag>test</tag> <desc>test</desc> </snippet>
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. There were two issues, non-updated API in snippets for completion and wrong memory transfer annotations in gtksourceview.