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

Calling lint and vet tool by hotkey or from interface #1041

Closed
DevNulPavel opened this issue Jun 20, 2017 · 3 comments
Closed

Calling lint and vet tool by hotkey or from interface #1041

DevNulPavel opened this issue Jun 20, 2017 · 3 comments

Comments

@DevNulPavel
Copy link

Great plugin, but calling lint and vet tools manualy sometimes needed to avoid freezings on save with autolint/autovet enabled.

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Jun 20, 2017

Agreed. We can have commands to run lint/vet/build. One thing to think about is whether these will act on current file/ current package or the whole workspace. Do we have 3 separate lint commands for the 3 scenarios? Or 1 lint command and a setting to control the scope? Or re-use the scope from buildOnSave/lintOnSave settings.

Other than that this is a very simple feature to implement. PRs welcome

I am sure there was another issue for this, if anyone finds it, please link it here

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Nov 27, 2017

This feature is now out in the latest update to the Go extension (0.6.69)
The commands Go: Lint Current Package , Go: Lint Workspace, Go: Vet Current Package , Go: Vet Workspace are now available.
Thanks @ndrewnee!

@DevNulPavel
Copy link
Author

Good news everyone! Thanks!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants