Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314440 - New class template could have less spaces and better cursor position
Summary: New class template could have less spaces and better cursor position
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 07:43 EDT by Jacek Pospychala CLA
Modified: 2020-05-14 11:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...