mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 966b87dd4013be1a9c06e2b8334522ec61905cc2 (#4696)
This commit is contained in:
30
src/vs/vscode.proposed.d.ts
vendored
30
src/vs/vscode.proposed.d.ts
vendored
@@ -36,12 +36,26 @@ declare module 'vscode' {
|
||||
|
||||
export interface CallHierarchyItemProvider {
|
||||
|
||||
/**
|
||||
* Given a document and position compute a call hierarchy item. This is justed as
|
||||
* anchor for call hierarchy and then `resolveCallHierarchyItem` is being called.
|
||||
*/
|
||||
provideCallHierarchyItem(
|
||||
document: TextDocument,
|
||||
postion: Position,
|
||||
token: CancellationToken
|
||||
): ProviderResult<CallHierarchyItem>;
|
||||
|
||||
/**
|
||||
* Resolve a call hierarchy item, e.g. compute all calls from or to a function.
|
||||
* The result is an array of item/location-tuples. The location in the returned tuples
|
||||
* is always relative to the "caller" with the caller either being the provided item or
|
||||
* the returned item.
|
||||
*
|
||||
* @param item A call hierarchy item previously returned from `provideCallHierarchyItem` or `resolveCallHierarchyItem`
|
||||
* @param direction Resolve calls from a function or calls to a function
|
||||
* @param token A cancellation token
|
||||
*/
|
||||
resolveCallHierarchyItem(
|
||||
item: CallHierarchyItem,
|
||||
direction: CallHierarchyDirection,
|
||||
@@ -574,22 +588,6 @@ declare module 'vscode' {
|
||||
|
||||
//#region André: debug
|
||||
|
||||
export namespace debug {
|
||||
|
||||
/**
|
||||
* Start debugging by using either a named launch or named compound configuration,
|
||||
* or by directly passing a [DebugConfiguration](#DebugConfiguration).
|
||||
* The named configurations are looked up in '.vscode/launch.json' found in the given folder.
|
||||
* Before debugging starts, all unsaved files are saved and the launch configurations are brought up-to-date.
|
||||
* Folder specific variables used in the configuration (e.g. '${workspaceFolder}') are resolved against the given folder.
|
||||
* @param folder The [workspace folder](#WorkspaceFolder) for looking up named configurations and resolving variables or `undefined` for a non-folder setup.
|
||||
* @param nameOrConfiguration Either the name of a debug or compound configuration or a [DebugConfiguration](#DebugConfiguration) object.
|
||||
* @param parent If specified the newly created debug session is registered as a "child" session of a "parent" debug session.
|
||||
* @return A thenable that resolves when debugging could be successfully started.
|
||||
*/
|
||||
export function startDebugging(folder: WorkspaceFolder | undefined, nameOrConfiguration: string | DebugConfiguration, parentSession?: DebugSession): Thenable<boolean>;
|
||||
}
|
||||
|
||||
// deprecated
|
||||
|
||||
export interface DebugConfigurationProvider {
|
||||
|
||||
Reference in New Issue
Block a user