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

Is it possible to programmatically modify text at tab stops?

ogrishmanogrishman Posts: 81 Bronze 4
edited November 28, 2016 11:12AM in SQL Prompt
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!


Sign In or Register to comment.