- Corrected working directory handling. After "guessing" the cwd from the current file or open folders, the subprocess is now correctly invoked from this cwd. This ensures that
goimports
works more reliably, preventing some edge-case issues. - When formatting doesn't change the code, don't modify the buffer to avoid wrecking "undo" (⌘⇪Z or ^⇪Z).
- The palette command is enabled only when editing a Go buffer.
- The palette command now works in anonymous buffers.
- When running
goimports
, use the current file's directory as PWD. This prevents it from occasionally failing to add imports.
- Saves and restores the scroll position to avoid the view jumping.
- Adds a missing dependency on shellenv.
- Removes trailing commas in Main.sublime-menu.
- Removes debug code printing when hovering over text.
- Initial release.