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

Sublime hangs when gofmt is executed #21

Open
fpdotmonkey opened this issue Nov 2, 2021 · 0 comments
Open

Sublime hangs when gofmt is executed #21

fpdotmonkey opened this issue Nov 2, 2021 · 0 comments

Comments

@fpdotmonkey
Copy link

When I run gofmt with Sublime, either by saving or through the command palette, the entirety of Sublime will hang, presumably waiting for gofmt to execute. I'm using the default Sublime settings.

I'm able to reproduce something that looks like this by running gofmt -e -s in the terminal; it's execution will hang until I send it SIGTERM.

To reproduce,

  • Open a .go file in Sublime
  • Execute gofmt either by saving or with the command palette
  • Observe Sublime hanging
  • pkill subl

Version information:

Sublime Text Build 4121
go version go1.13.8 linux/amd64
sublime-gofmt 0.1.6

Not sure how to get the gofmt version, one doesn't even show up in the binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant