emacs-lsp / lsp-mssql

lsp-mode :heart: MSSQL Server
https://emacs-lsp.github.io/lsp-mssql
MIT License
34 stars 7 forks source link

Script as create / alter / drop / execute functionality #15

Open nottinghamgoclub opened 1 year ago

nottinghamgoclub commented 1 year ago

(Feature request)...

In VS Code right-clicking an object in the SQL Server Explorer provides code generation, commonly used when altering a view definition (for example). Is this provided in the API and can it be exposed and handled in lsp-mssql via the object explorer perhaps?

yyoncho commented 1 year ago

It can be implemented, at this point you may use the snippets like this:

(add-to-list 'yas-snippets-dir "path to snippets dir.")