* Send server contextualization to Copilot extension
* Keep context in editor input
* Remove unnecessary server context and extension service
* Send context when connecting from open editor
* Remove contextualization complete event
* Contextualize editor after connection success
* Minor clean up
* Remove nested then and use async/await
* Create helper function
* Remove unneeded async and add comment
* Encapsulate all context logic in service
* Use void operator to fix floating promise
* Correct return comment
* Boilerplate for new metadata API endpoint
* Register all server metadata provider
* Fully registers data provider
* Registers metadata provider
* Instantiate metadata service
* Generates server metadata when connection is established
* Allow queryEditorInput to get server metadata
* Minor clean up
* Renames metadata provider and request endpoint
* Corrects documentation block
* Integrates get server metadata request endpoint
* Adjusts GetServerMetadataResult scripts type
* Add back Cargo.toml file
* Fix SQL hygiene error
* reflect changes made in in STS for table metadata
* Adds feature toggle to serverMetadataService
* Places toggle before request to get create scripts
* Fix build check issues
* Minor review changes
* Improves contextualization setting label
* Generalize contextualization service names
* Additional code review changes
* Update extensions/mssql/src/contracts.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Code reivew changes
* Capitalize c in contextualization
* Additional review changes
* Update provider type
* Simplify type and method names
* Unregister MSSQL ServerContextualization provider
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Also fixed an issue where a manually edited text field doesn't get updated when selecting the same dropdown value from before the manual edit.
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Horizontal splitview sorta working
* remove the old element
* support getting size from model view container
* cleanup
* make splitViewHeight optional
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* fix test
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Add limit on the file size that can be opened with Open XEL feature
* Add limit on the file size that can be opened and post a notification for large files
* Update wording
* Use FileService interface instead of fs to fix layering rules