Bug 381965 - Tcl formatter does not honor indentation size setting
Summary: Tcl formatter does not honor indentation size setting
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Tcl (show other bugs)
Version: 3.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.tcl-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 05:01 EDT by Missing name CLA
Modified: 2012-06-07 05:30 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2012-06-07 05:01:43 EDT
I created a new profile via "Preferences->Tcl->Formatter" dialog.

In the "Indentation" tab, 
I set "Tab policy" to "Spaces only"
"Indentation size" to "2"
"Displayed Tab size" to "8"

Now, when I select some Tcl code and press a Tab key it indents to 8 spaces whereas it should indent by 2 spaces. It appears indentation size gets tied to tab display size in this mode, which is a bug reported and fixed for other "Formatters" too. Please fix this or suggest a workaround, this is a pretty basic thing for any Tcl developer to embrace this IDE for Tcl.

Here is the version details of my install for DLTK:
Dynamic Languages Toolkit - TCL Development Tools	
3.0.0.v20101109-0623-7g--EC3wSgpTPwM02543	
org.eclipse.dltk.tcl.feature.group	Eclipse.org
Comment 1 Alex Panchenko CLA 2012-06-07 05:30:35 EDT
I've just tried that in 4.0 and it works fine.
Could you try installing it from http://download.eclipse.org/technology/dltk/updates-dev/4.0-stable/ update site?