Reputation: 25387
Due to a bug in Eclipse, every time I try to change the Code Formatting preferences, Eclipse crashes. Thus, I cannot edit code formatting preferences via Eclipse's built in window editor. These are workspace specific preferences. Where can I find the file to edit the preferences manually?
Upvotes: 0
Views: 424
Reputation: 111217
It looks like the code format profiles are stored in the workspace .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
file
This is a Java properties format file. The code formatter settings are in the org.eclipse.jdt.ui.formatterprofiles
property. The value is an XML object. This is going to be hard to edit!
Upvotes: 2