Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352707 - When generating code, WindowBuilder uses Tabs for indenting despite "Insert spaces for tabs" setting.
Summary: When generating code, WindowBuilder uses Tabs for indenting despite "Insert s...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 04:09 EDT by Basil Bourque CLA
Modified: 2021-06-04 16:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.