Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user snippet seem not working properly #2650

Closed
JUNGHUNKIM-7 opened this issue Feb 7, 2023 · 7 comments
Closed

user snippet seem not working properly #2650

JUNGHUNKIM-7 opened this issue Feb 7, 2023 · 7 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@JUNGHUNKIM-7
Copy link

JUNGHUNKIM-7 commented Feb 7, 2023

What version of Go, VS Code & VS Code Go extension are you using?

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • 1.20
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • 0.11.0
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
    • 1.75.0
  • Check your installed extensions to get the version of the VS Code Go extension
    • 0.37.1
  • Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.
    • <Workspace Folder (progress_form): e:\root_astro\progress_form
      set GO111MODULE=
      set GOARCH=amd64
      set GOBIN=
      set GOCACHE=C:\Users\k0108\AppData\Local\go-build
      set GOENV=C:\Users\k0108\AppData\Roaming\go\env
      set GOEXE=.exe
      set GOEXPERIMENT=
      set GOFLAGS=
      set GOHOSTARCH=amd64
      set GOHOSTOS=windows
      set GOINSECURE=
      set GOMODCACHE=C:\Users\k0108\go\pkg\mod
      set GONOPROXY=
      set GONOSUMDB=
      set GOOS=windows
      set GOPATH=C:\Users\k0108\go
      set GOPRIVATE=
      set GOPROXY=https://proxy.golang.org,direct
      set GOROOT=C:\Program Files\Go
      set GOSUMDB=sum.golang.org
      set GOTMPDIR=
      set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
      set GOVCS=
      set GOVERSION=go1.20
      set GCCGO=gccgo
      set GOAMD64=v1
      set AR=ar
      set CC=gcc
      set CXX=g++
      set CGO_ENABLED=0
      set GOMOD=NUL
      set GOWORK=
      set CGO_CFLAGS=-O2 -g
      set CGO_CPPFLAGS=
      set CGO_CXXFLAGS=-O2 -g
      set CGO_FFLAGS=-O2 -g
      set CGO_LDFLAGS=-O2 -g
      set PKG_CONFIG=pkg-config
      set GOGCCFLAGS=-m64 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\k0108\AppData\Local\Temp\go-build2957487532=/tmp/go-build -gno-record-gcc-switches
  • User Snippet isnt working both stable and nightly verison
  • Some snippets are shown when i use at outside of function, never work inside.
  • i think that is occured recent update.
@gopherbot gopherbot added this to the Untriaged milestone Feb 7, 2023
@cmsax
Copy link

cmsax commented Feb 8, 2023

Same issue. Snippets like ife (if err != nil) not working, even the snippets I manually created not work either.

@eryajf
Copy link

eryajf commented Feb 9, 2023

Same issue.

When I type the letter f, press the up and down keys to see that the forr is in the optional list, as shown in the figure:

When I continued to type letters, I couldn't find any matching complements, as shown in the figure:

@kurimi1
Copy link

kurimi1 commented Feb 9, 2023

Same issue.

@Knorway
Copy link

Knorway commented Feb 9, 2023

same here.

@webberpuma
Copy link

same here

@suzmue suzmue added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 9, 2023
@suzmue suzmue modified the milestones: Untriaged, v0.38.0 Feb 9, 2023
@suzmue
Copy link
Contributor

suzmue commented Feb 9, 2023

Looks like its probably this vscode issue which has now been fixed microsoft/vscode#173244.

Does this still occur with the latest vscode update?

@Knorway
Copy link

Knorway commented Feb 10, 2023

@suzmue it's working after the update. thank you!

@golang golang locked and limited conversation to collaborators Feb 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

8 participants