Tab and Enter key do not work anymore in the webstorm editor while typing - webstorm

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?
I have just found out that this odd behavior is only in the main index.html file not in my partial html files ???!!!

I had the same problem in one particular project, and other keystrokes also didn't work, including "(".
Selecting File > Invalidate Caches / Restart fixed it.

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.

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.

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

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

you have to map "Enter" to "Enter"!
setting > keymap >
search for enter
in "Editor Actions" right click on Enter and select Add key shortcut
press enter key
press ok and exit settings.

In the latest version of Tabnine on WebStorm or PhpStorm:
Find the keymap "Accept Inline Completion" and remove Tab

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.

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

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

Related

How to fix not working keybind in WebStorm IDE

I generally have a bunch of custom keybinds for WebStorm, but this one particularly does not work - Select opened file. I've bound it with different key combinations (see screenshots below), and also I've verified that it does not conflict with any MacOS keybinds (although even the ones that conflict actually do work).
Also when I hover the actual UI button, it shows different keybind for it (which also does not work).
So, essentially, I have to always click the UI button with the mouse. I'd like to be able to do so with the keybind. I'm not even sure how to troubleshoot this...
Does anyone else using WebStorm have this keybind working properly?
It's a known usability issue, IDEA-271054. The actual action you need assigning a shortcut to is Other | Select File in Project View:

Sitecore add here button not showing the Add rendering dialog

All of a sudden the Add here button in experience editor to add a rendering is not working. When clicked nothing happens. Do you have any idea where can I start look into? I already tried to remove the custom styles and scripts in my Editing theme. Sitecore version is 9 update 2 and SXA is 1.7
You have started from the right thing. Please make sure that you have the valid base themes defined in the Media Library: /sitecore/Media Library/Base Themes, especially, the Editing Theme with the logic used to edit components in Experience Editor.
Another idea is to check the order in which the layers load in Sitecore. The default order is defined in Website/App_Config/layers.config, make sure that SXA configuration loads last in the Modules layer, so that all custom modules are processed ahead of the SXA. It is recommended to create a custom patch file instead of modifying the standard configuration.
Hope this helps.
Did you check the console?
Maybe you have some error caused by some new custom script and that's preventing the add button to work
We had this issue for a specific set of placeholders, fortunately affecting only a single project in our solution. To fix the behavior, we had to manually set "editable" to false -> save item and then back to true -> save item for every affected placeholder.
[EDIT]
We finally found the culprit, it was related to a Sitecore bug documented here: https://kb.sitecore.net/articles/706490
Setting the value for Query.MaxSize from 100 to 400 permanently fixed the issue

Sitecore Publish restrictions dialog updates All versions for a language

I am running into an issue when opening the Change Publishing restrictions or Publish Settings dialog and Click OK to close the wizard. All my versions for the Item are Modified with the Current Date and Time. Thus, loosing all the version history for that Item Language. Any help would be greatly appreciated.
This is not possible out of the box (or as far as I am aware). You will need to modify the existing set publishing form. I posted a solution in Bit Bucket Keep in mind that this might not reflect your case as I am not sure which version of sitecore you are using. Basically the code is overriding the existing OnOK code which foreaches all the versions and updates them, adding the following line:
// Modify Here
if (string.IsNullOrEmpty(dateTimePicker1.Value) && string.IsNullOrEmpty(dateTimePicker2.Value))
{
continue;
}
It means that if both pickers were left empty - it won't modify the item version. Please keep in mind that I just smoke tested this solution, so I suggest you run it by sandbox first :)

WebStorm Terminal Color

I'm getting this unbearable white background in my Idea terminal. (WebStorm)
Does anyone know how I can change this?
Open File > Settings, and head to the Editor section > Colors & Fonts section. There, you'll see the Console Colors option.
Here, you'll get an interactive edit screen to determine what you want those console colors to look like. Click on the one that's most afflicted and edit its background color to match that of the console window.
Alternatively, if this is from a vanilla installation of your IDE, consider filing a bug against it.
Perhaps, you've changed color scheme of cmd. Delete the entire HKEY_CURRENT_USER\Console key from the registry, it sets your cmd settings to defaults and fixes this bug.
Open Registry and navigate to
HKEY_CURRENT_USER\Console
and remove
ScreenColors
key
This will reset color settings of your "cmd" window as well. However till JetBrains fixes this issue there is no other way around.

Restore default Toad layout

I'm using Toad 6.1
Something happened to my client and now I don't see that nice layout I had before. All forms are Tabbed and etc.
Could someone tell me how to restore settings to defaults?
Thanks
P.S. I tried to use Configuration Wizard and option Default but it did not fix the issue
I have never found an easy way to "go back" to what I've had after restoring Toad. Here's a guide that gives some help:
http://www.brainsurface.com/articles/ToadTipsTricksExpertInsight.pdf
I somehow changed my default view and couldn't see any data.
What solved my issue was:
- Click the "Browser Style" icon. It looks like a little menu icon with three check boxes.
- Click "Toggle RHS Visibility."