I can’t seem to get ‘Reformat Code’ to work on my mac version of Intellij. I’m using a 30 day trial.
Update & Clarification;
It doesn’t do anything, there is no reformatting done at all.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Turns out I had an issue
I had a directory structure which contained ‘Source’ such as
This confused Intellij, which prevented it from reading my directory structure correctly. Because of this, my real ‘source’ directory wasn’t identified. Without my *.java files stored within a defined ‘source’ directory, Intellij didn’t know how to format my files. I had incorrectly assumed that Intellij would know simply by the file extension.