claymore94
V2EX  ›  问与答

[求助] jetbrains 家族的 ide 有没有 跳出当前结构的快捷键?

  •  
  •   claymore94 · Feb 8, 2020 · 2428 views
    This topic created in 2306 days ago, the information mentioned may be changed or developed.
    
    func (t *Topic) Update() error {
    	if err := checkIndex(t.Id); err != nil {
    		return err // 现在光标在这里
    	}
        // 想要让光标在这里
    }
    
    

    如上,没有类似的快捷键,开启新一行,可以跳出 } ) 等

    目前知道 可以用 shift + 回车 忽略光标后面内容直接开启新一行。

    有没有可以直接跳出当前结构块的快捷键? 找了一圈没有看到

    3 replies    2020-02-09 16:47:37 +08:00
    Sunyanzi
        1
    Sunyanzi  
       Feb 9, 2020
    难道不是 Ctrl + ] 吗 ...
    claymore94
        2
    claymore94  
    OP
       Feb 9, 2020
    @Sunyanzi 不是吧 , 在 mac 下没反应,同时试了 command + ], option + command + ] 等
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5839 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 06:33 · PVG 14:33 · LAX 23:33 · JFK 02:33
    ♥ Do have faith in what you're doing.