sublime-gofmt
sublime-gofmt copied to clipboard
Sublime plugin to run gofmt (or goimports, or whatever you want).
Got this error after installing this plugin with package control: ```Traceback (most recent call last): File "/Users/some_user/Library/Application Support/Sublime Text 3/Installed Packages/Gofmt.sublime-package/gofmt.py", line 257, in run_formatter formatter = Formatter(view) File "/Users/some_user/Library/Application...
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...
I get the following error when trying to save any go file ``` error: Traceback (most recent call last): File "/home/my_user/.config/sublime-text/Installed Packages/Gofmt.sublime-package/gofmt.py", line 257, in run_formatter formatter = Formatter(view) File...
` Traceback (most recent call last): File "D:\Program Files\Sublime Text 3\sublime_plugin.py", line 1088, in run_ return self.run(edit) File "C:\Users\Lenovo\AppData\Roaming\Sublime Text 3\Installed Packages\Golang Tools Integration.sublime-package\gotools_lint.py", line 25, in run File "C:\Users\Lenovo\AppData\Roaming\Sublime...
I would like to set a keyboard shortcut to trigger `Gofmt: Format this file`. Is this possible?
Currently the plugin calls `view.replace` on the entire buffer contents and then restores the scroll position. This preserves the scroll position, but not the cursor position. There's a different method...
There is a conflict with the search panel if the setting `save_on_focus_lost` is enabled, where the search panel will not show up the first time `CTRL+F` is pressed. Steps to...