Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314440

Summary: New class template could have less spaces and better cursor position
Product: z_Archived Reporter: Jacek Pospychala <jacek.pospychala>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jacek Pospychala CLA 2010-05-26 07:43:56 EDT
Right now, when creating a new class, following file is generated:

<?php



class FeeFoo  {


}


?>


Isn't it too long with all those empty lines?
Another little tweak would be to set the cursor position in the first line inside the class, instead of the beginning of the file.

Ideally I'd see:

<?php

class FeeFoo  {

    |           <-- cursor here. already indented..

}

?>
Comment 1 Jacek Pospychala CLA 2010-05-26 08:04:33 EDT
sorry for false alarm, that template comes from some other plugin I installed...