After opening PhpStorm I saw that all favorites and local branches are gone. Only possible cause that comes to mind is that I saw an error that WSL2 had to shut down with an error.
When I go to File > Local History it's also blank.
Can this somehow be related to WSL2 shutting down incorrectly and is there a way to restore everything?
Is there a way to store these settings online somewhere?
The closest thing I could find as a solution is this: PhpStorm lost all projects & settings after power failure
Version info.
PhpStorm 2021.2.2
Build #PS-212.5284.49, built on September 16, 2021
Subscription is active until November 8, 2022.
Runtime version: 11.0.12+7-b1504.28 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 6
Registry: run.processes.with.pty=TRUE
Related
I'm using Mac Air M1 and trying to run IntelliJ Ultimate.
I've read some issues on JetBrains YouTrack and it seems that a lot of people are pretty satisfied with their experience. So, I think something is wrong with my environment and I can't find out what
Steps I've done:
Rebooted my Mac
Invalidated Caches & Restarted IDE
Reinstalled IntelliJ
Deleted "Caches" and "Application Support/JetBrains" directories and then reinstalled IDE
Checked if I'm using a default Java Runtime version
Checked if I'm using Intel version of IDE
Disabled Antialiasing
Closed "heavy" apps like Google Chrome
Installed Atom Material Icons plugin
Downloaded prebuilt shared indexes
Modified .vmoptions and added
-Dsun.java2d.opengl=true
-Dsun.java2d.opengl.fbobject=false
Disabled Smooth scrolling
I'm not using external display, mac is connected to power outlet
Here is my environment:
IntelliJ:
IntelliJ IDEA 2022.1 (Ultimate Edition)
Build #IU-221.5080.210, built on April 12, 2022
Runtime version: 11.0.14.1+1-b2043.25 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1024M
Cores: 8
Non-Bundled Plugins:
com.mallowigi (64.0.0)
Dart (221.5588)
io.flutter (66.0.4)
Kotlin: 221-1.6.20-release-285-IJ5080.210
Mac:
Model Name: MacBook Air
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 8 GB
OS: macOS Monterey Version 12.1
Related YouTrack topics
https://youtrack.jetbrains.com/issue/IDEA-268203
https://youtrack.jetbrains.com/issue/JBR-3237
https://youtrack.jetbrains.com/issue/JBR-2732
UPDATE #1:
Moved issue to JetBrains YouTrack: https://youtrack.jetbrains.com/issue/IDEA-293523/IntelliJ-IDEA-Ultimate-is-extremly-slow-on-mac-M1
You can see the memory usage of your application and increase it accordingly if required. In my case, it was slow because of low memory.
Enable the memory indicator by checking it (View -> Appearance -> Status Bar Widgets -> Memory Indicator). With this, now you can see memory usage details in the bottom right corner of your Intellij IDE.
Increase the memory if it's exhausted more than 80% of available memory by following: Click on Help -> Change Memory Settings -> <>)
Try EAP version of IntelliJ IDEA 2022.2, which runs on JBR 17 with Metal framework.
I had the same issue with same MBA.
I changed the runtime to OpenJDK 18 and now it is totally smooth :)
Help -> Find action -> Choose boot runtime for the IDE
I experimented with a few other JDKs, maybe Azul was the fastest.
Also, I have updated Xmx:
Help -> Edit Custom VM Options and updated to 2048m
To me, seems like the issue is resolved now or at least way better.
I download the M1 version for intellij ultimate and I have a incredible improve in performance.
BTW: I have a macbook pro 13' with 16gb ram and 1TB ssd
intellij environment
IntelliJ IDEA 2022.1.1 (Ultimate Edition)
Build #IU-221.5591.52, built on May 10, 2022
Licensed to ********************
Subscription is active until ********.
Runtime version: 11.0.14.1+1-b2043.45 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1024M
Cores: 8
Registry:
*************
Non-Bundled Plugins:
monokai-pro (1.8.1)
com.vincentp.gruvbox-theme (0.5.4)
com.intellij.plugins.macoskeymap (221.5591.19)
com.github.rmatafonov.cucumber-scenarios-indexer (1.1.0)
com.github.chencn.yamlandprops (1.0.5)
net.lagerwey.cucumber-kotlin (2022.1.0)
dev.eltonsandre.intellij.spring.assistant.plugin (1.5.2)
Kotlin: 221-1.6.21-release-337-IJ5591.52
From dive deep into community i found this reddit post https://www.reddit.com/r/IntelliJIDEA/comments/q05b29/intellij_idea_for_m1_macbook/ its basicly tells you to install Rosetta2, also battery-consuming, I think it just best if you use mac mini setup(not a macos user, but wish to anw)
I used "Split right" in PyCham
I see file "left.py" on the left side and "right.py" on the right side.
The cursor is in "left.py".
I use shift-shift to navigate to a method in a third file called "new.py"
PyCharm opens the file new.py on the right side.
That's very strange.
I want PyCharm to navigate to the new location in the window where the cursor is. See Step 3.
Is there a way to configure PyCharm to navigate always the side which contains the cursor, and not the other window?
Environment: Ubuntu 20.04
PyCharm 2021.2.3 (Professional Edition)
Build #PY-212.5457.59, built on October 19, 2021
Licensed to Thomas Güttler
Subscription is active until January 5, 2022.
Runtime version: 11.0.12+7-b1504.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-88-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1924M
Cores: 4
Current Desktop: ubuntu:GNOME
I am using IntelliJ Community edition for for Automation test using Java. I have observed that IntelliJ stops responding for while when I am typing. Some times it takes like 1 to 2 minutes to respond while I type. Even it goes blank when I switch the windows between the applications.
I am using:
**OS:** Windows 10 Pro, 64 bit OS
**IntelliJ version:**
IntelliJ IDEA 2020.1.4 (Community Edition)
Build #IC-201.8743.12, built on July 21, 2020
Runtime version: 11.0.7+10-b765.65 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Non-Bundled Plugins: gherkin, cucumber-java
Does anybody is facing this issue?
I want to select a new home directory for JDK, as I want to use a newer JDK. However, when selecting NEW -> JDK in the Project SDK settings, a Windows XP style dialog opens up, in which I can only select files and not directories. When I select an arbitrary file in the directory I really want to select, nothing happens.
This is the dialog I get:
This also applies to other projects, I have already invalidated my Caches and I'm sure it has worked once upon a time. This is the result I receive from "About":
IntelliJ IDEA 2019.1.3 (Ultimate Edition)
Build #IU-191.7479.19, built on May 28, 2019
Licensed to DPS Engineering GmbH / Timo Borner
You have a perpetual fallback license for this version
Subscription is active until June 18, 2020
JRE: 1.8.0_202-release-1483-b58 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Note that I have the same post on the IntelliJ support forum.
Deleting the file ide.general.xml solves the issue. It is not an elegant solution, because this seems to be a bug on the side of IntelliJ (see this ticket).
The problem is, that when syncing settings via the settings repository on Linux and Windows, weird things happen.
My PyCharm CE reported not enough memory and requires me to increase Xmx setting. I increased and saved but it seems not valid and the IDE keeps reporting the same error.
The parameters showing in the popped error window:
-Xmx: 4000MB (current value: 750)
-XX:MaxMetaspaceSize Unknown MB (current value unknown)
-XX:ReservedCodeCacheSize: 2400MB (current value: 240)
And I also checked $HOME/.PyCharmCE2018.3/config/pycharm64.vmoptions as suggested. The parameters indeed changed as I modified. I'm confused since I have set a much larger value than current value but no effects. What should I do?
More info:
PyCharm 2018.3 (Community Edition)
Build #PC-183.4284.139, built on November 21, 2018
JRE: 1.8.0_152-release-1343-b15 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-39-generic