如何移出 IntelliJ IDEA 中的自动完成括号(不使用箭头键)? [英] How to move out of auto-completed brackets in IntelliJ IDEA (without using the arrow keys)?

查看:40
本文介绍了如何移出 IntelliJ IDEA 中的自动完成括号(不使用箭头键)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从 Eclipse 切换到 IntelliJ IDEA,发现自己想知道如何将光标移出一对自动完成的括号.

在 Eclipse 中输入一对括号后,按 Tab 键会将我从括号中移出.如何在不使用箭头键的情况下做同样的事情?

非常感谢您的帮助!

解决方案

IDEA

I recently switched from Eclipse to IntelliJ IDEA, and found myself wondering how to move the cursor out of a pair of auto-completed brackets.

In Eclipse after I finished typing in a pair of brackets, pressing tab brings me out of the brackets. How can I do the same thing without using the arrow keys?

Many thanks for your help!

解决方案

IDEA doesn't have such feature yet. The closest equivalent is the Complete Current Statement editor action (Ctrl+Shift+Enter).


UPDATE

Initial implementation for this feature is available in 2018.2 EAP version - press Tab to jump out.

It works more like in MS Visual Studio - without visual indication of tab 'exit' position. For now, it should work in Java, SQL, Python and some other files. It will take some time for other languages to catch up - some language-specific code changes are required.

The feature is disabled by default, you can enable it in

Settings -> Editor -> General -> Smart Keys -> Jump outside closing bracket/quote with Tab

这篇关于如何移出 IntelliJ IDEA 中的自动完成括号(不使用箭头键)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆