How to move out of auto-completed brackets in IntelliJ IDEA (without using the arrow keys)?

前端 未结 10 733
遥遥无期
遥遥无期 2020-11-28 03:04

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 fin

10条回答
  •  庸人自扰
    2020-11-28 03:29

    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

提交回复
热议问题