The Go Programming Language
› http://golang.org/
› Go Playground
Go Projects
› Revel Web Framework
jht

小白提问: goland 似乎有可以自动补全函数返回值的功能,有朋友知道是内置的还是需要去 plugins 里下载?快捷键是多少?

  •  
  •   jht · Jun 10, 2018 · 4021 views
    This topic created in 3070 days ago, the information mentioned may be changed or developed.

    类似于这种: http.Get("www.studygolang.com") 使用快捷键后变成:resp,err:= http.Get("www.studygolang.com")

    5 replies  •  2018-06-12 08:49:57 +08:00
    helloworld12
    helloworld12
    Jun 10, 2018
    1
    可能是,需要函数返回值里面设定 recive 吧
    D3EP
    D3EP
    Jun 10, 2018 via iPhone
    3
    .var 就行了吧
    akiakiseofficial
    akiakiseofficial
    Jun 10, 2018 via iPhone
    4
    我也觉得像是 .var ,你试一试,用法自行百度 “ idea postfix ”
    jht
    jht
    OP
    Jun 12, 2018
    5
    多谢大家,使用快捷键 ctrl+alt+v 或者直接输入.var 都可以。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1376 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:00 · PVG 06:00 · LAX 14:00 · JFK 17:00
    ♥ Do have faith in what you're doing.