Jump outside closing bracket/quote - feature stopped working
I'm currently using IntelliJ IDEA Community Edition 2021.3.2
The feature which allows to escape current bracket/quote suddenly stopped working. At the moment pressing Tab key while typing with caret placed before closing bracket or quote causes the standard indent to be inserted (e.g. 4 white spaces).
The feature is still enabled in Editor > General > Smart Keys > "Jump outside closing bracket/quote with Tab when typing" in Settings. Also the "Jump Outside Current Bracket/Quote" key-bind has Tab key assigned to it in the Keymap.
I tried changing the key-bind for this feature to something else, e.g. Ctrl+NumPad5, but when reproducing the above scenario the caret is just not moving at all after pressing the combination.
Any ideas what could have caused that behavior and how to fix that?
请先登录再写评论。
Jump outside closing bracket/quote with Tab when typingonly works on initial typing: during subsequent editing, pressingTabinside brackets/quotes will insert the Tab character. See https://www.jetbrains.com/help/idea/2021.2/settings-smart-keys.html .This is the exact scenario I described initially, and it does not work anymore in such case, despite being fully functional before.
May you shaer a screencast with a key capturing program enabled (such as KeyCastr)
Some examples as requested:
Hmm.. Exactly the same is working fine for me (macos+IntelliJ IDEA 2021.3.2 CE)
As a general troubleshooting step, please disable all custom plugins: https://www.jetbrains.com/help/idea/managing-plugins.html#disable-plugin and reset settings to default via (File | Manage IDE Settings | Restore Default Settings).
If the issue is still here, please create YouTrack ticket with the reference to this thread and logs folder attached
I really hoped this could be solved in some other way, but resetting settings to default seems to fix the problem.
As importing my current IntelliJ IDEA config back obviously breaks the discussed feature, I'd like to ask for some further help - is it somehow possible to quickly compare the default configuration with my current settings without importing?
Sure, feel free to share your settings via uploads.jetbrains.com
Is it completely safe to upload the entire settings.zip archive created by IntelliJ on uploads.jetbrains.com and share the Upload ID here? Are all these configuration related files free of any personal information etc.?
All the data sent to uploads.jetbrains.com could be seen only by JetBrains staff.
The upload ID is 2022_02_07_N9rFVSdwFv336gqo
Disable Preferences | Editor | General | Code Completion > Show parameter name hints on completion
The fact that two settings affect each other caused by https://youtrack.jetbrains.com/issue/IDEA-275015
Ok, apparently this fixes the whole issue.
Just to make sure - does "Show parameter name hints on completion" do the same thing as "Toggle parameter name hints" keyboard shortcut (if set), but on the fly? i.e. while filling in arguments for the current method's call only, without having them displayed for every other method?
Yes
I'm having this same problem, but I don't have the setting mentioned above: "Show parameter name hints on completion." I'm using Webstorm 2022.3 on Linux Debian/Gnome. Where I notice this problem the most is within template literal javascript code. For example, in `I'm ${age} years old` when I hit tab at the end of "age" it inserts a tab as opposed to exiting the brackets. Thanks in advance.
Baronyoung72 Please report at https://youtrack.jetbrains.com/newIssue?project=WEB with the sample .js file to reproduce.
I'm getting this issue on Android Studio in late 2025. Glad to see Jetbrains is working on it so dilligently.
Hi Russell Ambeault , this only works on initial typing. I tried and if you type if and let the auto-complete to finish → resulted as `if ()`, this time the caret is inside the bracket, and you press the tab, it will jump out of the bracket. If you start to type something inside the bracket then press tab, it will insert a tab.
Jerome Guan It's only a problem with quotation marks. I should have been more specific.
Russell Ambeault , thanks, confirmed it's still reproduced, I've shared this situation in https://youtrack.jetbrains.com/issue/IJPL-28711/Tab-key-works-as-a-regular-tab-if-Show-parameter-name-hints-on-completion-is-enabled. internally.