Weird gap in front of cursor in PhpStorm - intellij-idea

I am getting a weird gap in my PhpStorm installation as displayed in the GIF. I have another installation for IntelliJ and it also mimics the same behaviour.
I'm on OS X El Capitan and the PhpStorm version is as below:
PhpStorm 2016.1.2
Build #PS-145.1616, built on May 24, 2016
JRE: 1.8.0_76-release-b198 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Yeah, I used to have the same problem. I had the exact same settings on another computer with a larger screen, and that one works fine. Then I just simply change the font-size to be smaller, better to be even number, Now it works fine again. Not sure if this is the solution, but you can try it.

Related

Font is installed but doesn't show in the menu of JetBrains IntelliJ IDEA

I have updated IntelliJ IDEA recently (I have the latest possible version and build at the moment - see at the bottom) and since then my previously well chosen font with ligatures doesn't show anymore (I don't remember its name). Previously the fonts were provided in a menu, 5-6 of them and you would choose one within the IDE, but now there are a lot of fonts to choose from which I guess are taken from the system.
However, I followed these instructions from this post but still the font is not showing in the menu.
I have installed the font Fira Code (all available .ttf files: Bold, Light, Medium, Regular and Retina) on Windows, so e.g. it is available in Microsoft Word:
but even after restart it is not available in IntelliJ IDEA:
Any suggestion how to fix this?
IntelliJ IDEA 2019.2 (Ultimate Edition)
Build #IU-192.5728.98, built on July 23, 2019
Runtime version: 11-ea+125 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
The font must be installed as an Administrator (install for all users option).
You do this by opening the context menu of the font file, then click "Install for all users".

vim block highlight doesn't work right in intellij

IntelliJ IDEA 2018.2 (Community Edition)
Build #IC-182.3684.101, built on July 24, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13
#
This happens on windows and mac and on older versions too and its super frustrating. The block select of the vim plugin doesn't work right.
I go into block select mode and highlight stuff:
I go into insert mode, write some characters and exit and look at what it does:
This is driving me nuts! It doesn't insert in all the highlighted lines i can't stand it.
This must have something to do with intellij's bracket awareness because if I highlight a block of unindented text with no formatting it works, like this:
And if I insert and edit and exit it works:
I have no .ideavimrc so its not my own settings. If this isn't a bug, how to get it to work?

IntelliJ IDEA can't show some code characters on a regular basis

As you can see, in my IntelliJ IDEA, some code characters were hidden on the editor. After restarting the IDE, the problem will be solved occasionally. Why did it happen?
Issue:
IDE and OS:
IntelliJ IDEA 2017.1.2
Build #IU-171.4249.39, built on April 25, 2017
JRE: 1.8.0_112-release-736-b16 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3
Note:
I've tried to switch IDE boot JDK to oracleJDK, it seems to solve the problem mentioned above, but some of the features of the IDE have failed :(

Navigate | Class or File popup closes immediately in IntelliJ IDEA 2017.2

I'm having a annoying problem since I update IntelliJ IDEA Community to this version:
IntelliJ IDEA 2017.2
Build #IC-172.3317.76, built on July 15, 2017
JRE: 1.8.0_152-release-915-b5 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-53-generic
There is a problem with "Main Menu/Navigate/Class" action. When a trigger this action using keyboard shortcut or menu access, most of time the "Enter class name" window is showed, but closes immediately.
Sometimes the action works ok, but most of time, not.
I'm using linux Mint 18.2 (Cinnamon).
It's a known issue, please follow it here for updates:
IDEA-173000 Navigate | File and Class popups disappear
Workaround (add the following via Help | Edit Custom VM Options):
-DactionSystem.xWindow.remove.focus.from.nonFocusable.popups=false
Downgrading to 2017.1 version is another option.
UPDATE: the issue is resolved in 2017.2.3 release.
According to the release notes it's fixed in the latest release - 2017.2.3 (build number IU-172.3968.16) - 173000 is in the list: https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2017.2.3+Release+Notes?fromIDE
What ultimately worked for me was adding -Dfocus.follows.mouse.workarounds=true to my custom VM options (Help > Edit Custom VM Options).
I found this in https://youtrack.jetbrains.com/issue/IDEA-173000, mentioned above.
I use a tiling window manager (i3) which I suspect is related.

Complete keyboard block in IntelliJ 13

Sometimes when running IntelliJ it completely blocks all keyboard inputs in the program. E.g. I can click around a document with the mouse, I can even right click + paste. I cannot, however write anything through the keyboard or navigate with the arrows inside a document or between documents for that matter.
The only keyboard related actions that work seem to be system related; alt + tab, ctrl + alt + delete, caps lock etc. also when tabbing to another window the keyboard works fine, so it is not a hardware issue.
This seem to occur when a popup is active and I tab out of IntelliJ and back in, but I am not certain that this is the case.
I would like to stress that it is not merely the currently open document that I cannot modify, since I CAN insert text and remove it using mouse commands only (the file is not write protected or anything like that), it seem to be a complete block of all keyboard inputs in IntelliJ.
The only workaround I have found is to restart IntelliJ.
I am running Ubuntu 13.10. More or less all projects I work with in IntelliJ are maven projects. It happens roughly once a day when using IntelliJ as main IDE.
This seems to be an IBus issue. The bug is not localized yet but it's clear it is not in IDEA - rather in IBus or possibly in Java X events handling code.
Workarounds:
IBus can be disabled for IDEA by unsetting env. variable XMODIFIERS. So, add the following lines to $IDEA_HOME/bin/idea.sh at almost the end of the file:
...
XMODIFIERS=idea.sh
export XMODIFIERS
# ---------------------------------------------------------------------
# Run the IDE.
# ---------------------------------------------------------------------
...
Have been reported that run ibus-daemon -rd is not recommended as it may cause JVM crash. However, it also seems to work.
http://youtrack.jetbrains.com/issue/IDEA-78860
I ran into the same issue with Ubuntu 14.04 LTS and IDEA 14+. I'm currently running IDEA 14.1.3.
The XMODIFIERS fix seemed to work for a while, but then the issue returned.
Changing Setup->Language->Keyboard input method system from iBus to none did not fix it for me.
What finally worked was switching JDKs from
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
to
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
using
export IDEA_JDK=/home/don/apps/jdk1.7.0_75/