-
Notifications
You must be signed in to change notification settings - Fork 646
Completions fail when gopkgs is not an executable #2220
Comments
If you are using modules, then you need to get Let me know if that helps. |
No, all |
Can you elaborate on this? |
|
By this you mean that if the extension does find say a |
Yes. And the other thing that I'd propose is not to break the whole code completion things (but warn user) if there are execution problems with some auxiliary tools involved in code completion. What I mean is that when I did |
We already check whether the file corresponding to the Go tools exist or not. It is a simple step from there to add another check on whether it is an executable as well. PRs are most welcome to fix this. Code Pointers:
|
I'd like to jump on this if no one else have yet |
Go ahead @keremgocen :) |
@ramya-rao-a, shall we close this issue since the PR has been already merged? |
Yes, otherwise it misleads other contributors who want to work on issues with the help-wanted label :) I will update this issue once we release the update with the fix |
I am using Ubuntu and manually compile all necessary third-party go tools (
gocode
,gocode-gomod
etc) and install them in/usr/local/bin
folder via self-made.deb
package. And though/usr/local/bin
is in$PATH
it seems that vscode unable to use some of that tools likegocode
and is able to use others likegometalinter
. Everything works when vscode compiles all tools itself and places them into$GOPATH/bin
but for some reason I'd like to maintain aforementioned go tools in separate manner because I also want to use them from the another editor that I occasionally use.The text was updated successfully, but these errors were encountered: