Re: [go-nuts] Visual Studio Code oddity with Go

2019-03-03 Thread Rich
That is exactly what I did to fix it. -- Thanks!

On Sunday, March 3, 2019 at 9:42:38 AM UTC-5, Louki Sumirniy wrote:
>
> That is a strange setting for GOBIN... Isn't that the folder `go install` 
> puts binaries? I always set it to ~/bin and  put that also in my path. I 
> like to use `go install` instead of `go build` because then I don't have to 
> remember not to let it slip through into a commit.
>
> On Sunday, 3 March 2019 15:29:28 UTC+1, Rich wrote:
>>
>> Thank you!! This worked for me. $GOPATH is set to ~/go, but when it was 
>> installing gocode it installed to /usr/local/go/bin instead of ~/go/bin -- 
>> this is because the $GOBIN variable is set to /usr/local/go/bin. 
>>
>> On Saturday, February 23, 2019 at 3:05:58 PM UTC-5, Joseph Pratt wrote:
>>>
>>> Rich, you should check where your GOPATH is pointing. My guess is that 
>>> VSCode is successfully installing the tool, but it's installing it in the 
>>> "wrong" place. I have my $GOPATH is set to "\go" and my project 
>>> folder structure is "$GOPATH\src\myDomain.com\myProject\main.go" and when I 
>>> run VSCode I open the top-level $GOPATH folder. That way, I see all the 
>>> tools that the VSCode Go Extension recommends to installation go in the 
>>> "$GOPATH\go\src\github.com\.." and the "$GOPATH\go\golang.org.." in the 
>>> folder explorer side-bar (screenshot attached). Hope that helps!
>>>
>>> On Friday, February 22, 2019 at 12:03:59 AM UTC-5, Rich wrote:

 Yeah. When I install the tool, it always gives me a success.  When I 
 selected all of them it also gave me a success.

 Thanks!

 On Thursday, February 21, 2019 at 10:42:33 PM UTC-5, andrey mirtchovski 
 wrote:
>
> > I tried the solution posted by Andrey (Thank you!) and it still does 
> the popup thing.  Oh well, it's a minor distraction, click update and it 
> goes away. 
>
> If you go to the OUTPUT tab does it give you an error message? or does 
> it say "things successfully installed"? 
>


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-03-03 Thread Louki Sumirniy
That is a strange setting for GOBIN... Isn't that the folder `go install` 
puts binaries? I always set it to ~/bin and  put that also in my path. I 
like to use `go install` instead of `go build` because then I don't have to 
remember not to let it slip through into a commit.

On Sunday, 3 March 2019 15:29:28 UTC+1, Rich wrote:
>
> Thank you!! This worked for me. $GOPATH is set to ~/go, but when it was 
> installing gocode it installed to /usr/local/go/bin instead of ~/go/bin -- 
> this is because the $GOBIN variable is set to /usr/local/go/bin. 
>
> On Saturday, February 23, 2019 at 3:05:58 PM UTC-5, Joseph Pratt wrote:
>>
>> Rich, you should check where your GOPATH is pointing. My guess is that 
>> VSCode is successfully installing the tool, but it's installing it in the 
>> "wrong" place. I have my $GOPATH is set to "\go" and my project 
>> folder structure is "$GOPATH\src\myDomain.com\myProject\main.go" and when I 
>> run VSCode I open the top-level $GOPATH folder. That way, I see all the 
>> tools that the VSCode Go Extension recommends to installation go in the 
>> "$GOPATH\go\src\github.com\.." and the "$GOPATH\go\golang.org.." in the 
>> folder explorer side-bar (screenshot attached). Hope that helps!
>>
>> On Friday, February 22, 2019 at 12:03:59 AM UTC-5, Rich wrote:
>>>
>>> Yeah. When I install the tool, it always gives me a success.  When I 
>>> selected all of them it also gave me a success.
>>>
>>> Thanks!
>>>
>>> On Thursday, February 21, 2019 at 10:42:33 PM UTC-5, andrey mirtchovski 
>>> wrote:

 > I tried the solution posted by Andrey (Thank you!) and it still does 
 the popup thing.  Oh well, it's a minor distraction, click update and it 
 goes away. 

 If you go to the OUTPUT tab does it give you an error message? or does 
 it say "things successfully installed"? 

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-03-03 Thread Rich
Thank you!! This worked for me. $GOPATH is set to ~/go, but when it was 
installing gocode it installed to /usr/local/go/bin instead of ~/go/bin -- 
this is because the $GOBIN variable is set to /usr/local/go/bin. 

On Saturday, February 23, 2019 at 3:05:58 PM UTC-5, Joseph Pratt wrote:
>
> Rich, you should check where your GOPATH is pointing. My guess is that 
> VSCode is successfully installing the tool, but it's installing it in the 
> "wrong" place. I have my $GOPATH is set to "\go" and my project 
> folder structure is "$GOPATH\src\myDomain.com\myProject\main.go" and when I 
> run VSCode I open the top-level $GOPATH folder. That way, I see all the 
> tools that the VSCode Go Extension recommends to installation go in the 
> "$GOPATH\go\src\github.com\.." and the "$GOPATH\go\golang.org.." in the 
> folder explorer side-bar (screenshot attached). Hope that helps!
>
> On Friday, February 22, 2019 at 12:03:59 AM UTC-5, Rich wrote:
>>
>> Yeah. When I install the tool, it always gives me a success.  When I 
>> selected all of them it also gave me a success.
>>
>> Thanks!
>>
>> On Thursday, February 21, 2019 at 10:42:33 PM UTC-5, andrey mirtchovski 
>> wrote:
>>>
>>> > I tried the solution posted by Andrey (Thank you!) and it still does 
>>> the popup thing.  Oh well, it's a minor distraction, click update and it 
>>> goes away. 
>>>
>>> If you go to the OUTPUT tab does it give you an error message? or does 
>>> it say "things successfully installed"? 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-23 Thread Joseph
Rich, you should check where your GOPATH is pointing. My guess is that 
VSCode is successfully installing the tool, but it's installing it in the 
"wrong" place. I have my $GOPATH is set to "\go" and my project 
folder structure is "$GOPATH\src\myDomain.com\myProject\main.go" and when I 
run VSCode I open the top-level $GOPATH folder. That way, I see all the 
tools that the VSCode Go Extension recommends to installation go in the 
"$GOPATH\go\src\github.com\.." and the "$GOPATH\go\golang.org.." in the 
folder explorer side-bar (screenshot attached). Hope that helps!

On Friday, February 22, 2019 at 12:03:59 AM UTC-5, Rich wrote:
>
> Yeah. When I install the tool, it always gives me a success.  When I 
> selected all of them it also gave me a success.
>
> Thanks!
>
> On Thursday, February 21, 2019 at 10:42:33 PM UTC-5, andrey mirtchovski 
> wrote:
>>
>> > I tried the solution posted by Andrey (Thank you!) and it still does 
>> the popup thing.  Oh well, it's a minor distraction, click update and it 
>> goes away. 
>>
>> If you go to the OUTPUT tab does it give you an error message? or does 
>> it say "things successfully installed"? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-21 Thread Brian Mcneely
On Thu, Feb 21, 2019, 9:42 PM andrey mirtchovski  > I tried the solution posted by Andrey (Thank you!) and it still does the
> popup thing.  Oh well, it's a minor distraction, click update and it goes
> away.
>
> If you go to the OUTPUT tab does it give you an error message? or does
> it say "things successfully installed"?
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-21 Thread Rich
Yeah. When I install the tool, it always gives me a success.  When I 
selected all of them it also gave me a success.

Thanks!

On Thursday, February 21, 2019 at 10:42:33 PM UTC-5, andrey mirtchovski 
wrote:
>
> > I tried the solution posted by Andrey (Thank you!) and it still does the 
> popup thing.  Oh well, it's a minor distraction, click update and it goes 
> away. 
>
> If you go to the OUTPUT tab does it give you an error message? or does 
> it say "things successfully installed"? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-21 Thread robert engels
I use VS Code with Go on a Mac at times - usually IntelliJ - and don’t have 
that problem. Maybe uninstall, delete the preferences, and re-install. Just a 
thought.

> On Feb 21, 2019, at 8:51 PM, Rich  wrote:
> 
> Just about every video on Go, I see people using VSC, and so was hoping to 
> find another Go user that has this problem, that's why I posted it here 
> rather than the VSC Github site. I'm on a mac, reinstalled, deleted my 
> settings -- all the usual stuff but it keeps popping up a message to install 
> gocode tools.
> 
> I tried the solution posted by Andrey (Thank you!) and it still does the 
> popup thing.  Oh well, it's a minor distraction, click update and it goes 
> away.
> 
> 
> On Thursday, February 21, 2019 at 9:14:12 PM UTC-5, andrey mirtchovski wrote:
> reposting my private comment from a day ago for those searching for answers: 
> 
> try "command-shift-p" or ctrl-shift-p depending on your operating 
> system, to bring the "all commands" pop-up. there you should be able 
> to find "Go: Install/Update tools". click on the checkboxes. hit 
> enter. 
> 
> On Wed, Feb 20, 2019 at 7:14 AM Rich > wrote: 
> > 
> > I tried googling this but I not been able to find a solution, hopefully I 
> > can ask this here and someone else knows how to fix this.  I use Visual 
> > Studio Code -- because it's free. The issue I am having is that every time 
> > I use Visual Studio Code I get the popup that says: 
> > 
> >> The Go extension is better with the latest version of "gocode".  Use "go 
> >> get -u -v github.com/mdempsky/gocode " 
> >> to update 
> > 
> > 
> > Anyone else have this or know how to fix this? It shouldn't ask EVERY time 
> > I use Visual Studio Code? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "golang-nuts" group. 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to golang-nuts...@googlegroups.com <>. 
> > For more options, visit https://groups.google.com/d/optout 
> > . 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-21 Thread Dan Kortschak
Have you run `go get -u github.com/mdempsky/gocode` in a terminal? Is
the binary put in your $PATH? If you try vim with vim-go or emac with
go-mode does gocode work for you there?

Dan

On Thu, 2019-02-21 at 18:51 -0800, Rich wrote:
> Just about every video on Go, I see people using VSC, and so was
> hoping to 
> find another Go user that has this problem, that's why I posted it
> here 
> rather than the VSC Github site. I'm on a mac, reinstalled, deleted
> my 
> settings -- all the usual stuff but it keeps popping up a message to 
> install gocode tools.
> 
> I tried the solution posted by Andrey (Thank you!) and it still does
> the 
> popup thing.  Oh well, it's a minor distraction, click update and it
> goes 
> away.
> 
> 
> On Thursday, February 21, 2019 at 9:14:12 PM UTC-5, andrey
> mirtchovski 
> wrote:
> > 
> > 
> > reposting my private comment from a day ago for those searching
> > for 
> > answers: 
> > 
> > try "command-shift-p" or ctrl-shift-p depending on your operating 
> > system, to bring the "all commands" pop-up. there you should be
> > able 
> > to find "Go: Install/Update tools". click on the checkboxes. hit 
> > enter. 
> > 
> > On Wed, Feb 20, 2019 at 7:14 AM Rich  > > 
> > wrote: 
> > > 
> > > 
> > > I tried googling this but I not been able to find a solution,
> > > hopefully 
> > I can ask this here and someone else knows how to fix this.  I use
> > Visual 
> > Studio Code -- because it's free. The issue I am having is that
> > every time 
> > I use Visual Studio Code I get the popup that says: 
> > > 
> > > 
> > > > 
> > > > The Go extension is better with the latest version of
> > > > "gocode".  Use 
> > "go get -u -v github.com/mdempsky/gocode" to update 
> > > 
> > > 
> > > 
> > > Anyone else have this or know how to fix this? It shouldn't ask
> > > EVERY 
> > time I use Visual Studio Code? 
> > > 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the
> > > Google 
> > Groups "golang-nuts" group. 
> > > 
> > > To unsubscribe from this group and stop receiving emails from it,
> > > send 
> > an email to golang-nuts...@googlegroups.com . 
> > > 
> > > For more options, visit https://groups.google.com/d/optout. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-21 Thread Rich
Just about every video on Go, I see people using VSC, and so was hoping to 
find another Go user that has this problem, that's why I posted it here 
rather than the VSC Github site. I'm on a mac, reinstalled, deleted my 
settings -- all the usual stuff but it keeps popping up a message to 
install gocode tools.

I tried the solution posted by Andrey (Thank you!) and it still does the 
popup thing.  Oh well, it's a minor distraction, click update and it goes 
away.


On Thursday, February 21, 2019 at 9:14:12 PM UTC-5, andrey mirtchovski 
wrote:
>
> reposting my private comment from a day ago for those searching for 
> answers: 
>
> try "command-shift-p" or ctrl-shift-p depending on your operating 
> system, to bring the "all commands" pop-up. there you should be able 
> to find "Go: Install/Update tools". click on the checkboxes. hit 
> enter. 
>
> On Wed, Feb 20, 2019 at 7:14 AM Rich > 
> wrote: 
> > 
> > I tried googling this but I not been able to find a solution, hopefully 
> I can ask this here and someone else knows how to fix this.  I use Visual 
> Studio Code -- because it's free. The issue I am having is that every time 
> I use Visual Studio Code I get the popup that says: 
> > 
> >> The Go extension is better with the latest version of "gocode".  Use 
> "go get -u -v github.com/mdempsky/gocode" to update 
> > 
> > 
> > Anyone else have this or know how to fix this? It shouldn't ask EVERY 
> time I use Visual Studio Code? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "golang-nuts" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to golang-nuts...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-21 Thread andrey mirtchovski
reposting my private comment from a day ago for those searching for answers:

try "command-shift-p" or ctrl-shift-p depending on your operating
system, to bring the "all commands" pop-up. there you should be able
to find "Go: Install/Update tools". click on the checkboxes. hit
enter.

On Wed, Feb 20, 2019 at 7:14 AM Rich  wrote:
>
> I tried googling this but I not been able to find a solution, hopefully I can 
> ask this here and someone else knows how to fix this.  I use Visual Studio 
> Code -- because it's free. The issue I am having is that every time I use 
> Visual Studio Code I get the popup that says:
>
>> The Go extension is better with the latest version of "gocode".  Use "go get 
>> -u -v github.com/mdempsky/gocode" to update
>
>
> Anyone else have this or know how to fix this? It shouldn't ask EVERY time I 
> use Visual Studio Code?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Visual Studio Code oddity with Go

2019-02-20 Thread Mohamed Yousif
Visual studio code has a very active GitHub repository, you can definitely
get a better support there.

On Wed, 20 Feb 2019 at 4:14 PM, Rich  wrote:

> I tried googling this but I not been able to find a solution, hopefully I
> can ask this here and someone else knows how to fix this.  I use Visual
> Studio Code -- because it's free. The issue I am having is that every time
> I use Visual Studio Code I get the popup that says:
>
> The Go extension is better with the latest version of "gocode".  Use "go
>> get -u -v github.com/mdempsky/gocode" to update
>
>
> Anyone else have this or know how to fix this? It shouldn't ask EVERY time
> I use Visual Studio Code?
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Visual Studio Code oddity with Go

2019-02-20 Thread Rich
I tried googling this but I not been able to find a solution, hopefully I 
can ask this here and someone else knows how to fix this.  I use Visual 
Studio Code -- because it's free. The issue I am having is that every time 
I use Visual Studio Code I get the popup that says: 

The Go extension is better with the latest version of "gocode".  Use "go 
> get -u -v github.com/mdempsky/gocode" to update


Anyone else have this or know how to fix this? It shouldn't ask EVERY time 
I use Visual Studio Code? 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.