Comments
1 comment
-
Thank you for the bug report. I've tried it, and I see what you mean. Do you use TAB as your main insertion key? We suspected people would tend to use ENTER (or for your query, a DOT seems appropriate).
In a future release, we will likely fix it so when the candidate list is being displayed, then the snippet insertion is disabled.
Add comment
Please sign in to leave a comment.
If you alias a table as 'ctat', SQL Prompt always expands the snippet ct (create table) even if you scroll down the list to select ctat.
I've reproduced this using the following dummy tables: at this point the cursor is to the right of the 'ct'. The tooltip says "Press TAB to insert snippet". I press ctrl-space and get a list of options, with ct snippet at the top. Using the arrow keys I scroll the highlight bar down two options, to ctat, and press tab. This is what the SQL ends up as:
I can screenshot this if it would help.