mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
sample code to implement providers (#15929)
* sample code to implement providers * context menu * comments * more comments * move comments to README
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
This is a sample extension that will show some basic model-backed UI scenarios. The long-term goal is to use SQL Service querying (e.g. see if Agent and other services are running) and visualize in interesting ways. Additional suggestions for improving this sample are welcome.
|
||||
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](https://github.com/microsoft/sqlops-dataprotocolclient), please refer to [SQL Tools Service] (https://github.com/microsoft/sqltoolsservice) or [PG Tools Service](https://github.com/microsoft/pgtoolsservice) as examples.
|
||||
|
||||
## Run the following commands to produce an extension installation package
|
||||
|
||||
@@ -11,4 +11,4 @@ This is a sample extension that will show some basic model-backed UI scenarios.
|
||||
- `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
|
||||
- Once ADS launches, you should be able to run the sqlservices commands, for example: sqlservices.openDialog
|
||||
|
||||
Reference in New Issue
Block a user