r3inbowari / go-mod-explorer

Go Module Explorer for Visual Studio Code (beta)
https://marketplace.visualstudio.com/items?itemName=r3inbowari.gomodexplorer
MIT License
33 stars 6 forks source link

The installation is successful and cannot be used #51

Closed ForeverCm closed 1 year ago

ForeverCm commented 1 year ago

201ca0397f15d83d25f4ba54b1a61fc0

install go mod explorer success,but not show on left vscode

image

r3inbowari commented 1 year ago

Hi, @ForeverCm, Is vscode-go installed?

ForeverCm commented 1 year ago

yes, my vscode can run go code success,but can‘t used Go Mod Explore

i understand,if Go Mod Explore can use,It should look like this,it should has GOMOD EXPLORE folder on the workspace

image

r3inbowari commented 1 year ago

Please provide your vscode-go version information and confirm that whether the go mod explorer is hidden in the right sidebar. The right sidebar is not visible when there is only one treeview.

It is best to provide some devtools console logs.

Thank you!

r3inbowari commented 1 year ago

on the right sidebar, if we click hide, the go mod explorer will not visible: image

or image

r3inbowari commented 1 year ago

image I noticed that the ext loads normally, unless you see an error message in the bottom right corner.

ForeverCm commented 1 year ago

image

above is my vscode version

image If I check the right box here, an error is reported in the bottom right corner,Does it have anything to do with this?

ForeverCm commented 1 year ago

image Where did you get this settings page from, I didn't find it in my vscode

image Here is the right column of my vscode, which is empty

ForeverCm commented 1 year ago

image

hello,I didn't find the vscode-go extensions you mentioned.

image

image Is this what you mean by vscode-go?

r3inbowari commented 1 year ago

Is this what you mean by vscode-go?

Yes

r3inbowari commented 1 year ago

image

above is my vscode version

image

If I check the right box here, an error is reported in the bottom right corner,Does it have anything to do with this?

Your vscod-go doesn't seem to start properly, either. Did you hide it?

ForeverCm commented 1 year ago

image above is my vscode version image If I check the right box here, an error is reported in the bottom right corner,Does it have anything to do with this?

Your vscod-go doesn't seem to start properly, either. Did you hide it?

My vscode running go program is ok, how to determine and check if my vscode-go is start correctly,Also How to check if the hidden

r3inbowari commented 1 year ago

image When vscode is running, there will be a version indication below.

ForeverCm commented 1 year ago

image When vscode is running, there will be a version indication below.

image I don't have it here, but the program works fine

r3inbowari commented 1 year ago

image When vscode is running, there will be a version indication below.

image

I don't have it here, but the program works fine

Your command output can only comfirm that you have installed the go toolchain.

r3inbowari commented 1 year ago

We have comfirmed that both the vscode-go and go mod explorer exts are not working on your computer.

r3inbowari commented 1 year ago

I think you should check why vscode-go is not running at first.

ForeverCm commented 1 year ago
image
r3inbowari commented 1 year ago

Do you know vscode-go?

r3inbowari commented 1 year ago

Your vscode-go is not working properly. It is a prerequisite for running go mod explorer.

r3inbowari commented 1 year ago

Go binary and vscode-go are two different things. right, please don't confuse them.

ForeverCm commented 1 year ago

Do you know vscode-go?

image

is this ?

r3inbowari commented 1 year ago

Is this what you mean by vscode-go?

Yes

Duplicate ACK.

ForeverCm commented 1 year ago

Is this what you mean by vscode-go?

Yes

Duplicate ACK.

I see that my vscode-go is already installed

r3inbowari commented 1 year ago

The problem is that it is not running properly...😄

Is this what you mean by vscode-go?

Yes

Duplicate ACK.

I see that my vscode-go is already installed

ForeverCm commented 1 year ago

But why is there not running properly?

r3inbowari commented 1 year ago

image

r3inbowari commented 1 year ago

I'm not sure... Can you provide your work directory structure?

ForeverCm commented 1 year ago

I tried uninstalling the vscode software and the vscode-go extension, but neither worked

image

yes,i see

ForeverCm commented 1 year ago

I tried uninstalling the vscode software and the vscode-go extension, but neither worked

r3inbowari commented 1 year ago

Your vscode-go is not working properly. It is a prerequisite for running go mod explorer.

I tried uninstalling the vscode software and the vscode-go extension, but neither worked

image

yes,i see

So you must ensure that your vscode-go can run.

ForeverCm commented 1 year ago
image

my vscode-go not running properly,I found that my go install doesn't even work,

r3inbowari commented 1 year ago

my vscode-go not running properly,I found that my go install doesn't even work,

I think this is caused by your network problem. such as 404 not found.

r3inbowari commented 1 year ago

go.tools.install belongs to the command category of vscode-go. But your vscode-go was not work.

r3inbowari commented 1 year ago

Even your go language services are not working.

ForeverCm commented 1 year ago

go.tools.install belongs to the command category of vscode-go. But your vscode-go was not work.

yes,I see,I'll try to solve the vscode-go problem first

r3inbowari commented 1 year ago

Because they were not installed at all, let alone running.

Even your go language services are not working.

ForeverCm commented 1 year ago

Because they were not installed at all, let alone running.

Even your go language services are not working.

What does this mean?

r3inbowari commented 1 year ago

image

You'd better provide your log info.

r3inbowari commented 1 year ago

Because they were not installed at all, let alone running.

Even your go language services are not working.

What does this mean?

image

ForeverCm commented 1 year ago

image

You'd better provide your log info.

image
ForeverCm commented 1 year ago
image

my vscode-go not running properly,I found that my go install doesn't even work,

https://github.com/microsoft/vscode-go/issues/755 I checked my goroot, gopath, version look good, and also can execute go run run program also, so I do not know where the problem is

r3inbowari commented 1 year ago
image

my vscode-go not running properly,I found that my go install doesn't even work,

microsoft/vscode-go#755 I checked my goroot, gopath, version look good, and also can execute go run run program also, so I do not know where the problem is

https://github.com/microsoft/vscode-go/issues/755#issuecomment-340183462 Have you tried it?

r3inbowari commented 1 year ago

Have you ever checked your network? Maybe you should ping google.com to check it.

ForeverCm commented 1 year ago
image

my vscode-go not running properly,I found that my go install doesn't even work,

microsoft/vscode-go#755 I checked my goroot, gopath, version look good, and also can execute go run run program also, so I do not know where the problem is

microsoft/vscode-go#755 (comment) Have you tried it?

I tried, but not yet solved, I'll try other methods, thank you for your answer, and I'll reply here after I solve it

ForeverCm commented 1 year ago

image I solved the problem,ow my go and gomodexplore are ok

ForeverCm commented 1 year ago

image I solved the problem,ow my go and gomodexplore are ok

588768b982344fcfd7262080a58388da chatgpt helped me solve this problem because the vscode extensions were reporting errors, directly removing the $HOME/.vscode/extensions folder and reinstalling the extensions solved it

ForeverCm commented 1 year ago

Thank you very much for your answer. We can end this question

ForeverCm commented 1 year ago

chatgpt is great, really a good helper

r3inbowari commented 1 year ago

OK.