sassoftware / vscode-sas-extension

This SAS Extension for Visual Studio Code provides support for the SAS language, including features such as SAS syntax highlighting, code completion, hover help, code folding, outline, SAS code snippets and run SAS code.
https://sassoftware.github.io/vscode-sas-extension/
Apache License 2.0
121 stars 48 forks source link

Enhance the code snippet library on VS SAS extension #85

Open enzhihpp opened 1 year ago

enzhihpp commented 1 year ago

Enhance the code snippet library on VS SAS extension

clangsmith commented 1 year ago

This feature request is lacking details. I assume the request is to include SAS code snippets, similar to the ones that are already included in SAS Studio. In fact, it would be ideal if we could use the same snippets between both SAS Studio and the SAS Extension for VS Code -- both SAS-supplied snippets and user-created snippets. This means we would need the snippets to be stored in a location both SAS Studio and the the SAS VS Code extension could access. However, rather than re-inventing the wheel and implementing our own snippets, we really want to participate in the way in which VS Code already provides Snippets: https://code.visualstudio.com/docs/editor/userdefinedsnippets

Therefore, we may need a way to sync at least the user-defined snippets between the two apps... perhaps by syncing them between VS Code and the Viya preferences service (per user).