Tab and Enter key do not work any more in the WebStorm editor while typing
Asked Answered
B

11

21

Ever since I upgraded my WebStorm IDE to v8.0.4 the enter/return and tab key has no effect in the code editor.

Could there maybe any settings I have somehow changed that these keys does not work?

This odd behavior is only in the main index.html file, not in my partial HTML files.

Bully answered 13/7, 2014 at 19:55 Comment(0)
O
42

I had the same problem in one particular project, and other keystrokes also didn't work, including "(".

Selecting File > Invalidate Caches / Restart fixed it.

Orelu answered 20/7, 2014 at 17:29 Comment(2)
Yes and it was only in a certain project here too!Bully
Sorry to complain but that error is a shame. Being a powerfull editor with a lot of functionality should not be a priority. The priority is to actually to edit the damn file as it should....Kraska
D
10

For me it wasn't invalidating caches or removing plugins. There is actually an "editor action" in the keymap settings called "Enter". Apparently I removed the key (enter) mapped to that by accident.

Datum answered 11/9, 2014 at 8:44 Comment(0)
A
5

Just experienced the same issue but clearing the Invalidate Cache wasn't working for me.

I found that I had downloaded "Bootstrap 3 live templates/ snippets" plugin just prior. This for some reason rendered by editor unable to take enter/return keys as well as the tab key.

After removing the plugin the editor went back to working normally. I would suggest going over recently downloaded plugins and seeing if one of them might be causing the issues.

Archdeaconry answered 23/7, 2014 at 21:24 Comment(0)
H
1

For anyone else struggling to figure out why this is happening, this happened to me on my MacBook pro due to having the ABC Keyboard configured in System Preferences > Keyboard instead of ABC Extended

Hasid answered 7/10, 2017 at 0:11 Comment(0)
O
1

In my case, Enabling ECMAScript 6 was the problem, I simply choose ECMAScript 5.1 again and everything now is working as it should!

change it from File->Settings->Languages & Frameworks->JavaScript and change the JavaScript language version to ECMAScript 5.1

Still very weird bug though

Olodort answered 12/10, 2017 at 20:40 Comment(0)
R
1

you have to map "Enter" to "Enter"!

  1. setting > keymap >
  2. search for enter
  3. in "Editor Actions" right click on Enter and select Add key shortcut
  4. press enter key
  5. press ok and exit settings.
Railing answered 5/8, 2018 at 14:20 Comment(0)
N
1

In the latest version of Tabnine on WebStorm or PhpStorm:

Find the keymap "Accept Inline Completion" and remove Tab Tabnine -> Accept Inline Completion

Novitiate answered 23/8, 2021 at 18:23 Comment(0)
D
0

Invalidate Cache didnt work for me as well. To be precise, the issue is related to newly added plugin. Fixed this issue by removing the plugin that is added recently.

Dipnoan answered 29/7, 2015 at 6:13 Comment(0)
U
0

I had the same problem. It is a, plugin issue. The quickest solution is, after starting Webstorm, press the return key. The PluginException will appear in the bottom of the IDE. Click it and you will see the 'disable' option for that specific plugin.

Regards

Usm answered 7/1, 2016 at 17:47 Comment(0)
S
0

Same thing happened to me. I had to check the Event Log which gave me the option to disable the plugin.

Somatist answered 22/1, 2016 at 19:13 Comment(0)
C
0

In my case the TAB keymap was deactivated (not sure if it was my fault or because of a plugin install)

I had to restore it in Parameters > Keymap > Editor actions:

enter image description here

For those having the problem with the ENTER key, you must also verify that the key map is OK like this:

enter image description here

Carlsbad answered 3/5, 2024 at 8:59 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.