Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352707

Summary: When generating code, WindowBuilder uses Tabs for indenting despite "Insert spaces for tabs" setting.
Product: z_Archived Reporter: Basil Bourque <basil.bourque.lists>
Component: WindowBuilderAssignee: Project Inbox <wb.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Basil Bourque CLA 2011-07-21 04:09:39 EDT
After generating a new class with WindowBuilder, and then using the Design View, I discovered the generated source code is a mix where some lines use Tabs for indenting and some lines use Spaces.

I had set this to True (checked):
Eclipse > Preferences > General > Editors > Text Editors > "Insert spaces for tabs"

--Basil Bourque

Using WindowBuilder 1.0.0r37 on Eclipse (Indigo Release) on Mac OS X 10.6.7 on a cold and rainy July day in Seattle.


-- Configuration Details --
Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.jdt 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B
Comment 1 Konstantin Scheglov CLA 2011-07-22 11:44:34 EDT
WindowBuilder works with Java sources, so uses tab character from Java formatting profile.