-
Notifications
You must be signed in to change notification settings - Fork 856
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
IntelliJ plugin not working #1130
Comments
@tstewart15 the config options look right to me. Does your configured project JDK have the required classes? Listed below. Lines 54 to 59 in ebf9b52
You might be able to check your idea.log file for the below log message. It should indicate which class is missing (if any). Line 61 in ebf9b52
|
Sorry looks like I misunderstood which JDK is used for the extension. You’ll want to check if the boot JDK has the required classes. Some info on that here, https://www.jetbrains.com/help/idea/switching-boot-jdk.html. |
Thanks @nrayburn-tech sorry for the delay. I tailed the idea.log file while disabling then reenabling the plugin, as well as quitting then restarting IDEA, but did not find any error messages mentioning "google-java-format". I did find an info log which mentions the JRE used by IDEA during boot (I think):
Any ideas on next steps to investigate? |
Summary
Following the instructions, I'm unable to get the formatter plugin to work.
Details
I've completed all steps in the instructions:
Installed plugin
Enabled the plugin in "Settings -> Other Settings -> google-java-format Settings":
Updated the configs in "Help > Edit Custom VM Options...":
Restarted the IDE
But I still get the following error when attempting to run "Reformat code" command:
Environment
Plugin version: 1.22.0.0
IntelliJ version: IntelliJ IDEA 2024.1.3 (Ultimate Edition)
The text was updated successfully, but these errors were encountered: