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

"Test Function At Cursor" not work #981

Closed
silentred opened this issue May 9, 2017 · 3 comments
Closed

"Test Function At Cursor" not work #981

silentred opened this issue May 9, 2017 · 3 comments

Comments

@silentred
Copy link

  • VScode version
    1.12.1

  • plugin version
    0.6.61

I updated go-outline tool, and there are "run test | debug test" button above TestFunction. But the original "Test Function At Cursor" command does not work now.
Then I tried to install/update all go tools with a command. Nothing changes.

@goenning
Copy link
Contributor

goenning commented May 9, 2017

Which OS? I just tried on my Windows with same versions and it worked.

Are you triggering the command by using the command bar? Can you try to bind a keyboard shortcut to this command and run it this way?

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented May 10, 2017

Thanks for reporting @silentred

This is a regression. While adding the codelens support, there was a missing null/undefined check.

Pushed 2e91038 to fix it.

The fix will be out in the next update which will be in a week or 2.

Until then, as a work around you can use the codelens or bind a shortcut for the command

@ramya-rao-a
Copy link
Contributor

The fix is now available in the latest update (0.6.62)

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2018
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

3 participants