MCPcopy Create free account
hub / github.com/Borvik/vscode-postgres / displayMessage

Method displayMessage

src/common/outputChannel.ts:23–31  ·  view source on GitHub ↗
(uri: vscode.Uri, title: string, message: string, showInCurrentPanel: boolean = false)

Source from the content-addressed store, hash-verified

21 }
22
23 public static displayMessage(uri: vscode.Uri, title: string, message: string, showInCurrentPanel: boolean = false): void {
24 let msgRes = new Array<QueryResults>();
25 msgRes.push({
26 rowCount: 0,
27 command: 'ext-message',
28 message: message
29 });
30 this.displayResults(uri, title, msgRes, showInCurrentPanel);
31 }
32
33 private static getViewColumn(): vscode.ViewColumn {
34 const resourceColumn = (vscode.window.activeTextEditor && vscode.window.activeTextEditor.viewColumn) || vscode.ViewColumn.One;

Callers 1

runQueryMethod · 0.80

Calls 1

displayResultsMethod · 0.95

Tested by

no test coverage detected