Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

how to turn off the web server of gopls #3844

Answered by atwwww
atwwww asked this question in Help
Discussion options

  1. environment
  • go version: 1.22.10
  • gopls version: 0.16.2
  • Editor: visual studio code
  1. question
    When I save the .go file, three web pages whill appear:
    http://127.0.0.1:55597/gopls/b0tSKAlgq9M/pkg/test?view=2
    http://127.0.0.1:55597/gopls/b0tSKAlgq9M/freesymbols?file=file:///U
    http://127.0.0.1:55597/gopls/b0tSKAlgq9M/splitpkg?view=2&pkg=test

I have asked LLM and read the user document of gopls. But I still don't know how to turn off the gopls's web server.

You must be logged in to vote

just turn off the editor.codeActionsOnSave {"source": "always"} in the settings.json.
(found it by tacing the communication between gopls and vscode-go -_-!)

Replies: 1 comment

Comment options

just turn off the editor.codeActionsOnSave {"source": "always"} in the settings.json.
(found it by tacing the communication between gopls and vscode-go -_-!)

You must be logged in to vote
0 replies
Answer selected by atwwww
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /