Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » How to get tabs instead of spaces (Koneki)(How to get tabs instead of spaces ((Koneki)))
How to get tabs instead of spaces (Koneki) [message #1226711] Thu, 02 January 2014 13:16 Go to next message
Alex Top is currently offline Alex Top
Messages: 4
Registered: January 2014
Junior Member
I want to use tabs instead of space for my source code.

I tried to set this in the preferences:
Windows -> Preferences
General -> Editors -> Text editors
Displayed tab with: 4
Insert spaces for tabs (not checked).

When I select all my source, right click and choose: Source -> Format
The idents are 2 spaces. So no tabs and not the size of 4.

Questions:
1) What am I missing?
2) How can I use tabs instead of spaces?


Re: How to get tabs instead of spaces (Koneki) [message #1228052 is a reply to message #1226711] Mon, 06 January 2014 09:51 Go to previous message
Simon Bernard is currently offline Simon Bernard
Messages: 285
Registered: July 2009
Senior Member
Hi,

Yes, you can use tab instead of spaces.
To do that you should use the formatter preferences.

You could change it for the whole workspace :
Menu => Windows/Preferences/Lua/Formatter

or change it only for a specific project :
rightclick on project =>Properties/Lua/Formatter


HTH Smile
Simon

Previous Topic:Koneki LDT plugins
Next Topic:Insert instructions / keyword in DLTK
Goto Forum:
  


Current Time: Tue Sep 30 10:19:23 GMT 2014

Powered by FUDForum. Page generated in 0.01676 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software