You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/07/02 21:38:00 UTC

[jira] [Commented] (NETBEANS-1957) Auto-complete creates an extra space below the fist bracket of a class/interface declaration

    [ https://issues.apache.org/jira/browse/NETBEANS-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150597#comment-17150597 ] 

Tomáš Procházka commented on NETBEANS-1957:
-------------------------------------------

From main menu open Options dialog.
Then select Editor > Formatting > Languange: PHP > Category: Blank Lines > Before Function and change value to 0.
Press OK and reformat - blank lines are gone.
Tested in NetBeans 12.0.

> Auto-complete creates an extra space below the fist bracket of a class/interface declaration
> --------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-1957
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1957
>             Project: NetBeans
>          Issue Type: New Feature
>          Components: php - Formatting &amp; Indentation
>    Affects Versions: 10.0
>            Reporter: Imb
>            Priority: Minor
>         Attachments: nb-space-bug.png
>
>
> When using the auto-format feature ({{Alt+Shift+F}}), an extra space is generated by Netbeans (PHP) just below the first *{* (bracket) of a class or interface declaration.
> There appears to be no way to remove this in the current settings.
> (See screenshot for demo)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists