Don't edit things you don't understand, or, do exactly that but fix them after

I was trying to use Spotless with Java 17. For some reason I thought it would be a good idea to use idea.vmoptions to tinker with settings I hardly understand.

If you bork your Intellij installation by misformatting the file, it’s fine, you can edit the file manually outside of Intellij.

On macOS:

cd /Users/ryanrampersad/Library/Application Support/JetBrains/

Your config folder’s name will depend on the version of Intellij (or any of the other IDEs based on it), so go into that and then vim or otherwise edit the idea.vmoptions as you need.

Hopefully this support page with various paths will stick around.

Follow me on Mastodon

Follow me on Twitter @ryanmr.