Halo, Habr!
Sedikit lebih dari seminggu yang lalu, kami merilis versi baru IDE kami untuk Go - GoLand 2020.1 .

Singkatnya, dalam siklus rilis ini, kami fokus pada perluasan dukungan saat ini untuk Modul Go. Misalnya, go.mod
penyelesaian kode, refactoring, dan navigasi sekarang berfungsi dalam file , dan itu belum semuanya!
. . , . Smart Code Completion Basic Code Completion.
, , Go 1.14 , .
, โ IDE Features of GoLand 2020.1.
Go Modules
GOPROXY
, GOPRIVATE
, GOSUMDB
, GONOPROXY
GONOSUMB
Go 1.13.
Go Modules. Browse Environment, Environment Variables.

go
, module
, require
, replace
, exclude
, replace
go.mod
.

, replace
, Move Rename .

, go.mod
, Find Usages Project View.

Alt-Enter.

, , go.mod
replace-.

,
GoLand 2020.1 if err != nil { ... }
. if
.

, type
struct
interface
.

Fill Fields , . .

, .

, .

Smart Code Completion (โโงSpace Ctrl+Shift+Space)
.

, .

.

, GoLand 2020.1 .

Basic Code Completion (โSpace or Ctrl+Space)
Basic Code Completion . .

, Basic Code Completion .

, , GoLand 2020.1 , .

, IDE .

, , , GoLand Editing Features You Didnโt Know About ( ).
Go 1.14
Go 1.14 , ! , , GoLand .
Go 1.14, vendor. GoLand 2020.1 1.13 . IDE vendor, .
. How to Find Goroutines During Debugging ( ).

. Run/Debug Configurations + Go Tool Program arguments, Macros .

, . Store Run/Debug Configurations.
.else if , .

Alt+Enter.

Create variable , .

- , . .

Invalid conversions of uintptr to unsafe.Pointer uintptr
unsafe.Pointer
.

Unmarshal is called with incorrect argument json.Unmarshal
encoding/json
, encoding/xml
encoding/gob
.

Locks mistakenly passed by value sync.Locker
.

Live templates
consts, vars, types imports . GoLand . fori for-loop.

Extract Method . Rename . , , IDE . , .

Navigate to implementations (โฅโB MacOS Ctrl+Alt+B Windows/Linux) Navigate to Declaration Usages (โB MacOS Ctrl+B Windows/Linux) .
, Find Usages (Alt+F7 Windows/Linux โฅF7 macOS) . Alt+Shift+Ctrl+F7 Windows/Linux โฅโงโF7 MacOS.

- JetBrains Mono โ JetBrains, , โ . .
- IDE Grazie, .
- LightEdit Mode . , Tools | Create Command-line Launcher, ( Toolbox App, ). , , / , . -.
- , . , Distraction Free Full Screen. , View | Appearance | Enter Zen Mode Quick Switch Scheme (Ctrl+` | View mode | Enter Zen Mode).
- External Documentation https://pkg.go.dev https://godoc.org.
- Default โ Classic Light.

, ! . , Twitter -. #goland-gophers Slack Go.
JetBrains GoLand
The Drive to Develop