Pull scaffolding in node.js environment
npm install -g yo generator-azuredatastudio
yo azuredatastudio
Change the code and run it
To debug the extension, just install the plug-in in visual studio code and
then open the visual studio code to modify and run it.
![](https://img-blog.csdnimg.cn/img_convert/292a86e54d6debbb023a106768c0b137.webp?x-oss-process=image/format,png)
After running, auzre data studio automatically opens.
The following is the extension I developed.
![](https://img-blog.csdnimg.cn/img_convert/4b45c80aec07ef3fc23ddb169fd5f3e9.webp?x-oss-process=image/format,png)
Packaged into vsix
The following is my stored procedure to sql package https://github.com/lozn00/AzureSQLProcConvertSQL/raw/master/StoredProcedureConverter-0.0.1.vsix
npm install -g @vscode/vsce```
vsce package
publish market
Introduction from the official website
To publish a new extension to Azure Data Studio, please do the following:
Add the extension to the extension library .
I don’t understand how to add an extension library. I open this json and it contains Microsoft.AzureDataStudio.DownloadPage. I modify it and submit it to them for review? ? I don’t understand. My friend who understands is complaining.We currently do not support hosting third-party extensions. Azure Data Studio does not download the extension, but provides the option to browse to the download page. To set the download page for the extension, set the value of the asset "Microsoft.AzureDataStudio.DownloadPage".
Create a PR against the release/extension branch.
Send a review request to the team.
Your extension will be reviewed and added to the extension library.
2023-8-24 13:58:16
Adjusted through PR github project and successfully launched
![](https://img-blog.csdnimg.cn/img_convert/36d151e54842a78cd9e0343016fc7365.webp?x-oss-process=image/format,png)