This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247994

Summary: Ability to add PHP Comments formatting options
Product: php Reporter: Zicguy
Component: Formatting & IndentationAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal CC: mvalihora, rob006
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description Zicguy 2014-10-17 07:58:48 UTC
It would be nice to have the ability to set number of blank lines before and after PHP Comments.
Example :

<?php
/**
 * DatabaseException Class.
 *
 * Class which defines database exceptions
 *
 * @package    Framework
 * @subpackage core
 * @author      
 * @version    
 */

class DatabaseException extends Exception
{
	
}

- 0 blank line before PHP Comment
- 1 blank line after PHP Comment

Thanks by advance.
Comment 1 mvalihora 2015-09-30 16:35:39 UTC
Yep this would be appreciated. There is Comments formatting option for Java, but it's missing in NetBeans for PHP.