mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 01:25:38 -05:00
Add openQueryDocument API (#16117)
* Add openQueryDocument API * Remove open call * Change try name
This commit is contained in:
13
src/sql/azdata.proposed.d.ts
vendored
13
src/sql/azdata.proposed.d.ts
vendored
@@ -9,6 +9,19 @@ import * as vscode from 'vscode';
|
||||
|
||||
declare module 'azdata' {
|
||||
|
||||
export namespace queryeditor {
|
||||
/**
|
||||
* Opens an untitled text document. The editor will prompt the user for a file
|
||||
* path when the document is to be saved. The `options` parameter allows to
|
||||
* specify the *content* of the document.
|
||||
*
|
||||
* @param options Options to control how the document will be created.
|
||||
* @param providerId Optional provider ID this editor will be associated with. Defaults to MSSQL.
|
||||
* @return A promise that resolves to a [document](#QueryDocument).
|
||||
*/
|
||||
export function openQueryDocument(options?: { content?: string; }, providerId?: string): Thenable<QueryDocument>;
|
||||
}
|
||||
|
||||
export namespace nb {
|
||||
export interface NotebookDocument {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user