Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA: Can't type { and [

So I have a problem where in IntelliJ IDEA I can't type In

<br>{ --(Alt Gr + B or Ctrl + Alt + B)  

and

[ --(Alt Gr + F or Ctrl + Alt + F)  
<br>

I did try to edit shortcuts but there are no shortcuts that match mentiond ones
And when I try using SquareBrackets I get a message a little bit like this: "Cannot perform refactoring. Caret should be positioned at the name of local variable or expression to be refactored"

How can I fix this problem?

like image 435
CodingWithAdin Avatar asked Jul 11 '18 15:07

CodingWithAdin


People also ask

Why Autocomplete is not working in IntelliJ?

I have tried the following according to this thread (Intellij IDEA CE 12 Android XML Code Completion not working): Go to File->Power Save Mode and disable it - it is off. Go to Preferences->Editor->Code Completion and check Autopopup code completion - this has been checked. Go to File->Invalidate Caches and restart.

How do I start typing in IntelliJ?

Start typing a code construct and press Ctrl+Shift+Enter . IntelliJ IDEA automatically completes the construct and adds the required punctuation.

How do I change a read only file in IntelliJ?

To toggle read-only attribute of a file, open file in the editor, or select it in the Project tool window. Do one of the following: On the main menu, choose File | File Properties | Make File Read-Only , or Make File Writable .

How do I fix my IntelliJ idea?

From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.


2 Answers

It worked for me by going to Ctrl+Shift+A (actions) -> Registry... and then disabling "actionSystem.force.alt.gr"

like image 85
Raúl Salinas-Monteagudo Avatar answered Sep 22 '22 06:09

Raúl Salinas-Monteagudo


Worked for me: While focus is on PyCharm then Ctrl+Shift+A (actions) -> Registry... and then enabling "actionSystem.force.alt.gr"

like image 25
Marco Avatar answered Sep 21 '22 06:09

Marco