How can we help you today? How can we help you today?

Is it possible to programmatically modify text at tab stops?

In SQL Prompt snippets, we can use $tab_stop$ syntax to define a tab stop position. Currently the only thing we can do against a tab stop is set its default text. I want to know if it's possible to add some kind of scripting feature to tab stops. That way we users can do a lot of stuff by ourselves. For example we can using string functions to modify $SELECTEDTEXT$ to make it what we want. There are some editors in the market have this feature. For example emacs's yasnippet has this feature and you can call any elisp functions against a tab stop. I want to know what do you think about this feature.
BTW I know it's easy to add Powershell support to a C# application. I'm not sure how it works with a SSMS plugin.
Thanks in advance and happy Thanksgiving!
ogrishman
0

Comments

2 comments

  • David Priddle
    Hi ogrishman,

    I think we may have a feature suggestion for this: https://redgate.uservoice.com/forums/94 ... at-execute.

    If this is the kind of thing you are looking for, could you add your votes to it? If not, could you add a new feature suggestion with your requirement?

    Best regards,

    David
    David Priddle
    0
  • ogrishman
    Yes Dave, I've upvoted. Thanks.
    ogrishman
    0

Add comment

Please sign in to leave a comment.