Skip to content

Commit

Permalink
Remote debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
petervdonovan committed May 22, 2024
1 parent 418b0ea commit 62fb42a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/build_commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type MessageShowerTransformer = (MessageDisplayHelper: MessageDisplayHelper) =>
const getAst =
(withLogs: MessageShowerTransformer, client: LanguageClient) =>
async () => {
vscode.window.showInformationMessage("Getting AST...");
// vscode.window.showInformationMessage("Getting AST...");
const uri = getLfUri(vscode.window.activeTextEditor.document);
if (!uri) {
return "The currently active file is not a Lingua Franca source file.";
Expand All @@ -37,14 +37,14 @@ const getAst =
withLogs(vscode.window.showErrorMessage)("Failed to get AST.");
return;
}
vscode.window.showInformationMessage("AST received: " + ret);
// vscode.window.showInformationMessage("AST received: " + ret);
return ret;
};

const getWorkspace =
(withLogs: MessageShowerTransformer, client: LanguageClient) =>
async () => {
vscode.window.showInformationMessage("Getting workspace...");
// vscode.window.showInformationMessage("Getting workspace...");
const roots = vscode.workspace.workspaceFolders;
let lf_files: vscode.Uri[] = [];
let lingo_tomls: vscode.Uri[] = [];
Expand Down Expand Up @@ -80,7 +80,7 @@ const getWorkspace =
lf: lf_asts,
config: toml_contents
};
vscode.window.showInformationMessage("Workspace received: " + ret);
// vscode.window.showInformationMessage("Workspace received: " + ret);
return ret;
};

Expand Down

0 comments on commit 62fb42a

Please sign in to comment.