mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Add changeConnectionUri action for query (#1227)
* added wip rename query * added first rename test * added missing query handling and two new tests * removed ServiceDispose * added change to owneruri. * made fields private, used accessor methods * added readonly flag back * added didSave to sqltools.servicelayer * fix for docsavecallbacks * removed tryremove * test disconnect in queryExecutionService * removed debug message working query. * added comment to handlerenamerequest * added uri replacement function * removed duplicate removemap function * added minor fixes * changed connectionOwnerUri to getter setter * removed handledidsave and added setters * removed additional save parts * fixed space issues * more fixes for spaces * restored spaces * fixed workspaceservice * Update TextDocument.cs * changed renameRequest into notification WIP * restored textdocument * restored textdocument.cs * added rightwards arrow * renamed rename to ChangeConnectionUri * added more renames * rename changeconnectionuri to changeuri * renamed file names * Revert "renamed file names" This reverts commit 55228e65025b5179b15ae9a0adc095d95538723d. * Revert "rename changeconnectionuri to changeuri" This reverts commit 23f3813f609e3947f103e057f7c0919184075bdc. * removed logging message and other small changes * renamed class and method
This commit is contained in:
@@ -50,6 +50,7 @@ This document provides the protocol specification for all the service's JSON-RPC
|
||||
* :leftwards_arrow_with_hook: [query/subset](#query_subset)
|
||||
* :leftwards_arrow_with_hook: [query/dispose](#query_dispose)
|
||||
* :leftwards_arrow_with_hook: [query/cancel](#query_cancel)
|
||||
* :arrow_right: [query/connectionUriChanged](#query_connectionUriChanged)
|
||||
* :leftwards_arrow_with_hook: [query/saveCsv](#query_saveCsv)
|
||||
* :leftwards_arrow_with_hook: [query/saveExcel](#query_saveExcel)
|
||||
* :leftwards_arrow_with_hook: [query/saveJson](#query_saveJson)
|
||||
@@ -889,6 +890,18 @@ Cancel the query in progress for the owner uri.
|
||||
public string Messages { get; set; }
|
||||
}
|
||||
```
|
||||
### <a name="query_connectionUriChanged"></a>`query/connectionUriChanged`
|
||||
|
||||
Change the uri associated with a query.
|
||||
|
||||
#### Notification
|
||||
```csharp
|
||||
public class ConnectionUriChangedParams
|
||||
{
|
||||
public string NewOwnerUri { get; set; }
|
||||
public string OriginalOwnerUri { get; set;
|
||||
}
|
||||
```
|
||||
|
||||
### <a name="query_saveCsv"></a>`query/saveCsv`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user