azuredatastudio/samples/sqlservices
Alan Ren 15d26b7f9a
fix the sqlservices sample extension (#22893)
2023-04-28 14:45:20 -07:00
..
.vscode Feature: Tasks (core) (#12184) 2020-11-04 13:07:20 -08:00
images add dashboard and tabbedPanel samples (#9894) 2020-04-08 15:35:29 -07:00
sql Merge Azure Data Studio branding changes (#2689) 2018-09-24 15:39:19 -07:00
src fix the sqlservices sample extension (#22893) 2023-04-28 14:45:20 -07:00
tasks fix the sqlservices sample extension (#22893) 2023-04-28 14:45:20 -07:00
.gitignore add margin for checkbox in modelview tree (#15522) 2021-05-19 15:50:37 -07:00
.vscodeignore Feat/model backed ui (#1145) 2018-04-13 15:59:18 -07:00
README.md sample code to implement providers (#15929) 2021-08-20 14:19:50 -07:00
gulpfile.js fix the sqlservices sample extension (#22893) 2023-04-28 14:45:20 -07:00
package.json fix the sqlservices sample extension (#22893) 2023-04-28 14:45:20 -07:00
tsconfig.json table component improvement (#13801) 2020-12-14 20:28:43 -08:00
tslint.json Update vscode-nls in notebook and samples, plus fix samples compilation (#4203) 2019-02-26 12:45:45 -08:00
yarn.lock fix the sqlservices sample extension (#22893) 2023-04-28 14:45:20 -07:00

README.md

This is a sample extension that will show some basic model-backed UI scenarios and how to contribute feature providers(e.g. Connection, Object Explorer) in ADS. Note: only implement the providers this way if your data service has native JavaScript SDK available, otherwise use data protocol client, please refer to [SQL Tools Service] (https://github.com/microsoft/sqltoolsservice) or PG Tools Service as examples.

Run the following commands to produce an extension installation package

  • yarn install - to install the dependencies
  • yarn build - to build the code
  • vsce package - to produce an extension installation package

Launch ADS Dev instance with this extension

  • yarn install - to install dependencies
  • yarn build - to build the code
  • Launch VSCode and open the azuredatastudio's code folder, run the 'Launch azuredatastudio' debug option (to work around the issue. The next step won't work without doing this first)
  • Launch VSCode and open this folder, run the 'Debug in enlistment'
  • Once ADS launches, you should be able to run the sqlservices commands, for example: sqlservices.openDialog