Community
Participate
Working Groups
Build Identifier: I20110613-1736 In Eclipse PDT consider the following array: $a = array( 'i1' => 'foo', 'i2' => 'bar' ); Notice that it is indented using tabs, one per indentation level. Also notice that it is already indented one step to the right. Copy and paste the above array and you will get the result: Reproducible: Always Steps to Reproduce: 1.Copy the following array into Eclipse PDT: $a = array( 'i1' => 'foo', 'i2' => 'bar' ); Notice that it is indented using tabs, one per indentation level. Also notice that it is already indented one step to the right. 2. Select this code block in the IDE and copy-paste it to another location in the same file. 3. Notice that extra indentation level (extra tab) was added to the array elements. Now the array looks like: $a = array( 'i1' => 'foo', 'i2' => 'bar' );
Please open bugs with PDT against PDT.
the current state is that paste results in this code: $a = array( 'i1' => 'foo', 'i2' => 'bar' );
fixed in head
Verified. Ilina Stefanova