![]() All the new functionality available in DataGrip and WebStorm is also available in GoLand. Check out DataGrip 2021.2 What’s New and WebStorm 2021.2 What’s New to discover the new functionality. To learn more about the new features in GoLand 2021.2, head over to our What’s New page, where you’ll find a full overview of the release along with GIFs and screenshots. Would you prefer a more interactive approach to learning about these new features in GoLand? Complete the What’s New in GoLand 2021.2 tutorial from the Welcome screen. In GoLand 2021.2 you can load go.mod changes manually.When the dedicated option is enabled, you can edit go.mod and then click a dedicated icon to load the changes. GoLand will display an error if you are using features that are from a newer version of Go than the one specified in your go.mod file. ![]() The Go option on the Welcome screen is now the default option for Go modules projects.įor numeric literals and //go:embed statements, a quick-fix is available that will change the Go version in go.mod.We have also renamed GOPATH-based projects to Go (GOPATH). Unused dependencies in replace directives are now highlighted in grey.You can use a quick-fix to download the unused modules. We have introduced the Run gofmt on code reformat option. When this option is checked, you can invoke gofmt and GoLand’s built-in formatter with the shortcut Ctrl + Alt + L (⌘+⌥+L), and gofmt will be run after GoLand’s formatter. A new quick-fix will move //go:build lines to the top of the file, as the new syntax requires. ![]() If you imported a “C” package but then forgot to enable cgo support in the project settings, GoLand will display a banner with the Enable cgo support quick-fix.There is also a quick-fix for generating // +build lines in addition to //go:build lines. Preview mode now works when you debug your application. It lets you open the files successively in one tab. In Go 1.17 it will be possible to convert a slice to an array pointer. GoLand will not mark these conversions as errors. You can now Run tests and Analyze code before committing your changes.GoLand 2021.2 allows you to sign commits with a GPG key.You can Navigate to implementations of the interfaces contained in the internal folder. Attached projects now appear in the Project view as separate directories.The node that stores all uncommitted changes is now called Changes.A new search field in the Local History menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |