GoLand 2020.2 EAP #3 is Out with WSL2 Support for Git, and New Add Caret Per Selected Line Action
The third build in the GoLand Early Access Program is out!
You can get this EAP build through the Toolbox App, by downloading it from the website, by using a snap package (for Ubuntu), or from right inside GoLand by selecting Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.
Don’t forget that we regularly release nightly builds based on the latest development code. You can use these nightly builds to get access to the latest features without having to wait for the official EAP announcements. These nightly builds are only available via the Toolbox App.
WSL2 support for Git on Windows
GoLand 2020.2 will allow you to use Git from WSL2, which is available in the May update of Windows 10, version 2004 natively. If Git is not installed in Windows, GoLand will automatically look for Git in WSL and use it from there. It will also automatically switch to Git from WSL for projects opened from WSL (via \wsl$ path).
If you need to manually configure the IDE to use Git from WSL:
- Go to Settings/Preferences | Version Control | Git
- Click the Browse icon in the Path to Git executable field
- Select Git from WSL with the browser (via \wsl$ path, e.g. \\wsl$\debian\usr\bin\git)
Unfortunately, Git from WSL1 does not return output reliably when called from Windows, and this could lead to incorrect results of git commands – see IDEA-242469, and the corresponding WSL request. So to make sure integration is reliable, we decided to support only WSL2.
Add Caret Per Selected Line action
The new Add Caret Per Selected Line action creates carets at the end of each selected line, and deselects the lines. Invoke it using the shortcut Alt+Shift+G on Windows/Linux or ⌥⇧G on macOS.
IDEA-201752 — Now it’s possible to delete “failed” and “deleted” nodes from the DockerView after reconnecting to Docker.
Please read the release notes to learn more about fixed issues in this EAP build.