-
Notifications
You must be signed in to change notification settings - Fork 884
in idea 2022.3.3, this plugin throw error : configure the jre for google-java-format #940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@git-code-for-me I had the exact same problem today. Apparently it's very important that you put a newline at the end of you |
adding new line doesn't work for me. |
I've having same issue, idea 2023.2.4 Keep getting the popup every time start IDE saying to configure the jre for google-java-format Formatting doesn't work at all. The preview window in Code Style doesn't update with config changes. Checked idea.log , and can't see anything to explain why this isn't loading, not errors or warning, just single line saying loaded plugin:
idea.vmoptions
Is there anywhere else to get logs or diagnostics on why this plugin isn't loading properly? |
Can you see if those options are actually being applied to the JVM? For example, if you do a (Sorry, I don't have a Mac, so I don't know if |
|
So looks like issue with intellij on mac, not the plugin (not picking up vm options). Instead, I editted: Found this section:
and at the end of that array, added the other strings
Restarted, and now works as expected! |
Hmm... so raised with Intellij, but they said vm options are loading correctly, so maybe issue with plugin not picking up options correctly? |
the configure is not work, in idea 2022.3.3
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
The text was updated successfully, but these errors were encountered: