Skip to content

Commit 1cb13a9

Browse files
committed
Additional log messages
1 parent 68ed52f commit 1cb13a9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export async function generateCompileCommands(directory: string, customCompileCo
4848
restoreRcFile = (oldData !== modifiedData);
4949
});
5050

51+
logger.info("Generating compile commands...");
5152
await runCommand("bazel", ["run", compileCommandsTarget], directory).finally(() => {
5253
logger.info("Restoring .bazelrc file...");
5354
if (restoreRcFile) {

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export async function activate(context: vscode.ExtensionContext) {
1818
let customCompileCommandsTarget = vscode.workspace.getConfiguration("vsc-bazel-tools");
1919

2020
await api.generateCompileCommands(currentlyOpenTabFileDir, customCompileCommandsTarget.get("customCompileCommandsTarget")).then(() => {
21+
logger.info(`Successfully generated compile commands!`);
2122
vscode.window.showInformationMessage(`Successfully generated compile commands!`);
2223
}
2324
).catch(

0 commit comments

Comments
 (0)