eclipse template autoformat [closed]
- by Matiaan
I have a template (sleep) in eclipse that should expand to
try { Thread.sleep(1000); } catch (Exception e) {}
I want eclipse to add it as one line, just as I put it in the template.
However, eclipse autoformats it after inserting to:
try {
Thread.sleep(1000);
} catch (Exception e) {
}
Is there any way to disable formatting just for this one template (or all templates since all templates I use are one liners)?