1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

//the following example uses "." to make a space visable and a "___>" to make a tab visable


//When having this line:
....function my()
___>{

//and hitting ENTER on line number 2 i will get 1 tab AND 4 spaces in line number 3 
//and 1 tab and a closing brace in line 4
....function my()
___>{
___>....
___>}

//i was expecting to get "new lines" respecting my settions:
....function my()
___>{
........
....}

//It seams that "auto indent" copies the indention of the above line.
//Can any one confirm this bug. 
//Or is this a misconfiguration?

//my settings: 
//1) "Window > Preferences > General > Editors > Text Editors > Insert spaces for tabs"
//2) "Window > Preferences > General > Editors > Text Editors > Display tab width = 4"
//3) "Window > Preferences > PHP > Code Style > Formatter >Tab policy = Spaces"
//4) "Window > Preferences > PHP > Code Style > Formatter >Indentation size = 4"