[feature request] Different snippets with the same trigger
ogrishman
Posts: 81 Bronze 4
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.
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