I am searching for Apex code formatter in Eclipse (Force.com IDE plugin for Eclipse). I would like to have something similar to Java formatter (CTRL+SHIFT+F). Is that possible?

  • I've been meaning to write my own, but hopefully there's one already out there! – sfdcfox Dec 10 '13 at 14:52
  • Copy the code into a Java editor and press CTRL+SHIFT+F. Then copy it back into the APEX editor. Unfortunately, that is not solution, just a nasty workaround. – FrankZ Dec 10 '13 at 15:00
  • That's why some people like to use Sublime Text 3[sublimetext.com/3]. It's a favorite tool among people inside of SF. – crmprogdev Dec 10 '13 at 18:32

No it's not possible yet. It's not currently supported with Force.com IDE, BUT you can vote on that idea at ideaExchange


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.