IntelliJ 2020.3 Export Settings Error - Writing File - intellij-idea

Any workarounds are welcomed. Here is the IntelliJ YouTrack issue filed.
Expect
Export and import IntelliJ settings.
Observe
After upgrading to IntelliJ 2020.3 (Community Edition) there is an error in exporting settings.
Steps
File > Manage IDE Settings > Export Settings > Error occurs
Error Writing File
Error writing settings.
java.nio.file.NotDirectoryException: /Users/adamhurwitz/Library/Application Support/JetBrains/IdeaIC2020.3/options/code.style.schemes
File > Manage IDE Settings > Import Settings > No settings are found.
Invalid File
The file /Users/adamhurwitz/Desktop/settings.zip contains no settings to import.
Please make sure it was generated by File | Export Settings feature.
Configuration
IntelliJ IDEA 2020.3 (Community Edition)
Build #IC-203.5981.155, built on November 30, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Non-Bundled Plugins: com.thoughtworks.gauge, com.google.gct.core, cn.wjdghd.unique.plugin.id, com.developerphil.adbidea

Delete /options/code.style.schemes file. It's not used by the IDE and is a leftover from some old version.
Follow the bug in YouTrack for updates.

Related

Run Configuration Error: There is nothing to run in compound configuration

I have 4 Spring Boot applications and I decided to create a workspace to use single window for all of them. I created an Empty Project then added my projects via File -> New -> Module from Existing Sources. All looking good but when I add configuration Run/Debug Configurations, Compound, and click the (+) to add I got empty selection "Nothing to show" and an error message below "Run Configuration Error: There is nothing to run".
IntelliJ IDEA 2020.3 (Community Edition)
Build #IC-203.5981.155, built on December 1, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: ParNew, ConcurrentMarkSweep
You add to Compound Run Configuration other Run Configurations which were created previously. Please check Create compound run/debug configurations.

IntelliJ IDEA doesn't recognize lombok's Fields

IntelliJ recognize lombok annotations including #FieldNameConstants and I can import the generated fields via: import static com.somepackage.SomeClass.Fields.field (even autocomplete works after typing 'SomeClass' or 'Fields').
However when I want to build the project it says :
java: cannot find symbol
symbol: class Fields
location: com.somepackage.SomeClass
Intelli version:
IntelliJ IDEA 2019.3 (Community Edition)
Build #IC-193.5233.102, built on November 28, 2019
Runtime version: 11.0.4+10-b520.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 2000M
Cores: 4
Registry:
Non-Bundled Plugins: Lombook Plugin
Lombok version:
1.18.8 (tried it also with 1.18.10)
The same project(maven based springboot) works well in eclipse.
Lombok is correctly installed and annotation preprocesing is enabled. I have tried several uninstalls (both the ide and lombok) and clean project imports. Same result.

How can I open .zul file in Intellij?

I have downloaded the ZK plugin, but when I create a .zul file, it is just recognized as an unknown file for intellij. I tried resetting cache and rebooting, didn't make a difference..
Is there a way to connect the plugin to the extension? Am I missing something here?
I had quite the opposite experience, I created a .zul file and IntelliJ automatically suggested something like: "There's a plugin available that handles .zul files, would you like to install download and it?" -> confirmed and restarted ... Then .zul files are registered as XML files under Settings/File Types and code completion is working.
Not sure how this is failing for you, can you provide your version details including the plugins installed?
Here what I am using (Help/About):
IntelliJ IDEA 2019.2.4 (Community Edition)
Build #IC-192.7142.36, built on October 29, 2019
Runtime version: 11.0.4+10-b304.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-72-generic
...
Non-Bundled Plugins: org.zkoss.zkidea

IntelliJ replacing $MODULE_DIR$ with physical path

I am using IntelliJ & facing an issue.
In module properties under Path tab, I wanted my output path to be like "$MODULE_DIR$\bin" but when i am trying to check-in into my repository, its replacing "$MODULE_DIR$" with actual physical path. So if someone else will checkout that .iml file will have my module's physical path.
Did someone please confirm if this issue is resolved or it is still an issue?
IntelliJ IDEA version details is as below -
IntelliJ IDEA 2017.2.2 Build #IU-172.3757.52, built on August 15, 2017
JRE: 1.8.0_152-release-915-b10 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 7 6.1

Can't compile a java 9 project in IntelliJ IDEA with module-info

Can't compile a java 9 project in IntelliJ IDEA with module-info.
Create a project
Add module
Create a class with with a main (without module-info.java it runs)
Add Module-info.java
Run Main Fails
Configuration
Module-info
module httpexample {
}
Error
Error:(1, 1) java: file should be on source path, or on patch path for module
Intellij Version
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.11.1
It appears to be a new issue caused by Java 9 update 166, I've reported it in YouTrack, please follow for updates:
IDEA-172212 Compile Error under JDK9-167
I am using IntelliJ EAP 2017.2 build 1909.2 and this is not an issue anymore
I have installed IntelliJ 2017.2 EAP and JDK 9 build 169 and opened my module system projects and it works fine, now my system info is:
IntelliJ IDEA 2017.2 EAP
Build #IU-172.2103.15, built on May 12, 2017
IntelliJ IDEA EAP User
Expiration date: June 11, 2017
JRE: 1.8.0_152-release-845-b3 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.4