Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Show build progress when buildOnSave #1869

Closed
EmpireJones opened this issue Aug 22, 2018 · 3 comments
Closed

Show build progress when buildOnSave #1869

EmpireJones opened this issue Aug 22, 2018 · 3 comments

Comments

@EmpireJones
Copy link

It looks like #1456 implemented showing "building..." in the status bar when building manually. This is a feature request to show this indication when a build is triggered via buildOnSave too.

@ramya-rao-a
Copy link
Contributor

Hey @EmpireJones,

Apologies for taking so long to get to this issue.

Below are the reasons we chose not to use the status bar for the on save operation:

  • Build is not the only thing that runs on save. We have lint and vet as well. Showing 3 status bar items is not a good idea
  • Showing a single one that says something like "On Save operations running..." might work, but it would keep appearing and disappearing especially for users who have enabled the auto save feature, which can be distracting.

The one case where this can be useful is for long running build/lint/vet operations on save.

Currently, we use the Output channel to show the results of these processes, but it only shows up after the process completes.

We can update this to print a line that indicates the start of the process as well, so that users would know that the build process has started and continue to monitor the channel for completion.

I have pushed a commit to do exactly that. This will ship in our next update.

@ramya-rao-a
Copy link
Contributor

The latest beta version of this extension will now log the starting of the build/vet/lint process in the output channel as well

@ramya-rao-a
Copy link
Contributor

The fix for this issue is out in the latest release(0.10.0) of the Go extension

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants