TIP: fix indentation of imported Servoy 3.5 solutions

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

TIP: fix indentation of imported Servoy 3.5 solutions

Postby svroemisse » Fri Aug 22, 2008 9:33 am

Because you could only edit function bodies in Servoy 3.5, when you import Servoy 3.5 solutions in Servoy 4.0, function bodies have bad indentation.

This can be fixed using the Eclipse auto-indent function:
In a Javascript editor window, press <ctrl>-a followed by <ctrl>-i
Be warned though, this will basically redo all indentation, possibly ruining some carefully crafted indentation.
Sandor Vroemisse
Servoy
User avatar
svroemisse
 
Posts: 171
Joined: Tue Dec 12, 2006 12:37 pm
Location: Amersfoort, NL

Re: TIP: fix indentation of imported Servoy 3.5 solutions

Postby IT2Be » Tue Sep 09, 2008 12:58 pm

Be warned though, this will basically redo all indentation, possibly ruining some carefully crafted indentation
This would be impossible when we could create our own formatting settings.
I have not seen a preference panel giving us this option yet.
(When) Will it be available?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 10 guests