IntelliJ replacing $MODULE_DIR$ with physical path - intellij-idea

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

Related

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

Select home directory dialog can't select a directory

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.

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.

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

IntelliJ Idea - TypeScript + JSPM support

My IntelliJ Idea does not resolve TypeScript modules that I installed via JSPM.
For example angular2 is not found.
Is there a way to get support for those imports?
I am using this version of IntelliJ Idea:
IntelliJ IDEA 2016.1.1
Build #IU-145.597, built on March 29, 2016
JRE: 1.8.0_76-release-b18 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
There is already a feature request posted in the JetBrains Youtrack targeting the JSPM support.