IntelliJ keeps moving cursor focus to the Build Output tool window while coding - intellij-idea

I'm using IntelliJ IDEA CE, on macOS Monterey, and while coding it frequently builds the code base every few seconds, automatically.
This becomes very frustrating as then the cursor focus would move to the Build Output window while I'm writing my code, after every few seconds. The errors shown in the window are the obvious compile errors as I'm still writing my code.
I tried turning off "Build project automatically" and "Build project" in "Actions on Save" setting but that doesn't help. I'm not sure which setting is causing this problem.
IntelliJ IDEA 2021.3.1 (Community Edition)
Build #IC-213.6461.79, built on December 28, 2021
Runtime version: 11.0.13+7-b1751.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.1

Related

How to make the function (f1...f10) keyboard shortcuts work in IntelliJ

I've noticed that throughout IntelliJ on MacOS, the keyboard shortcuts for anything like command+f2...f10 don't work. Neither do they trigger anything in the OS to the question is what program is catching these keyboard events. Is there any way to force IntelliJ to get them when IntelliJ is open? This happens even if the IntelliJ window is maximized/fullscreen. All other keyboard shortcuts work.
Specs:
IntelliJ IDEA 2018.2.4 (Ultimate Edition)
Build #IU-182.4505.22, built on September 18, 2018
Licensed to ****
You have a perpetual fallback license for this version
Subscription is active until January 18, 2020
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.1
As #y.bedrov kindly pointed out, go to System Preferences->Keyboard and select "Use all F1, F2, etc. as standard function keys." option enabled in "System Preferences -> Keyboard". Then it works :)

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?

Not able to view Dotty option while creating scala project in Intellij IDEA

I have Intellij IDEA. Below are the details about it.
IntelliJ IDEA 2017.2.5
Build #IU-172.4343.14, built on September 26, 2017
Licensed to Rajkumar Natrajan
JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
I have latest scala plugin for IntelliJ installed as well.
But when I try to create the dotty project using the documentation here, I couldn't see the option. Below is the screen shot.
Do I miss any settings?
Choose SBT first, then on the next step you will be able to select Dotty:
Related ticket.

Intellij UI freezing due to "long scala calculation"

Intellij is occasionally freezing on my fastest/newest Mac. I have not pinpointed the action occurring: but in general it is while editing scala code. Seems that it could be normal editing of code or also showing popups of possible code choices for fill-in.
Here is a strong "hint" of what is happening from the intellij logs:
org.jetbrains.plugins.scala.util.UIFreezingGuard$$anon$1:
Long scala calculation on UI thread canceled
I see that error message approximately at the times that the freezes occurred: three times in the past fifteen minutes for example.
Here is an illustration: at the moment shown in the screenshot I can do absolutely nothing with Intellij directly. By quickly switching focus to ANY other os/x app and then back to Intellij it gets unfrozen:
Here are IJ version details:
IntelliJ IDEA 2016.3.2
Build #IU-163.10154.41, built on December 21, 2016
Licensed to ****
You have perpetual fallback license for this version
Subscription is active until February 9, 2018
JRE: 1.8.0_112-release-408-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
The Activity Monitor shows plenty of RAM available and the CPU is consistnely at single digit percentage utilization. As direct evidence the IJ GUI is snappy - until it freezes.
Are there any known workarounds for this?
Do you believe your problem could be related to the icon rendering calculation for the Scala plugin as described here?
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206002459-Is-there-a-way-to-disable-features-to-solve-performance-problems-
This says it can be worked around by disabling the toolbar that it's a current bug in the Scala plugin. Does this work at all?

Weird gap in front of cursor in PhpStorm

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.