SQLDSC is designed to be used with Visual Studio Code. It provides a great file editor and log file viewer.
Install Visual Studio Code #
Install Visual Studio Code. By default, it installs for the current user which is usually what you want.
Install SQLDSC #
Download the lastest version from scaleSQL.com and extract the contents of the ZIP file.
The application is a command-line executable.
Initialize the repository #
- In VSCode, open up the directory where
sqldsc.exeis located. Pressing control-` (back tick) will bring up a command prompt in VSCode.
sqldsc initwill create the
configdirectory and a sample
targets.hclas well as a few other files
Install Extensions #
init command creates a
.vscode directory that includes suggested extensions. If it doesn’t suggest them, plese install the following extensions: