What are the challenges you face when working across database platforms? Take the survey
Options

[feature request] Different snippets with the same trigger

ogrishmanogrishman Posts: 81 Bronze 4
edited November 28, 2014 8:34AM in SQL Prompt
Hi,

SQL Prompt does not support different snippets with the same trigger string.

What I want is:
Let's say I have created two snippets:
1. CREATE TABLE .....
2. CREATE DATABASE ....

and both of them use "create" to trigger the snippet insertion. When I type "create" and press "tab" button, since this matches two snippets, a selection is prompt to the user, and let's say the user selected "CREATE DATABASE ...", so the corresponding text will be inserted.

Please consider this feature and I think it will be very useful. In some way it's like the method overloading in the OOP world.

Comments

Sign In or Register to comment.