| Summary: | Add "Source / Correct Indentation" functionality | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ulrich Petri <eclipse> |
| Component: | PDT | Assignee: | Yaron Mazor <yaron.m> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P2 | Keywords: | plan |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ulrich Petri
Fixed previously. closed Sorry, but this feature is still missing. Perhaps I was not clear enough in my explanation. The feature i'm looking for indents the current line to the correct level on keypress. (You can try it out in a Java editor: type in some code and press "ctrl-i"; The current line will be indented to the correct level) fixed. Overrided the CTRL+I to perform format to active elements seems closed to me - Please check that we understood correctly. - eclipse@upcd.de to send us feedback Hi,
thank you for implementing this!
It seems to work pretty good in RC 1.
There are two small "inconveniences" left:
1) type:
function test() {
|$a = 123;
}
Place your cursor where the "|" is and press ctrl-i, it will indent the line correctly but also select the newly inserted space.
2)
Type:
function test() {
$a = 1;
|
}
Again place the cursor on the "|" (and remove it of course) and press ctrl-i, you will notice that the line is not indented. This only works if there is any text in the line.
Ulrich
|