Junichi Yamamoto created NETBEANS-3103:
------------------------------------------

             Summary: Formatting is broken with class constant code 
completion(self::)
                 Key: NETBEANS-3103
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3103
             Project: NetBeans
          Issue Type: Bug
          Components: php - Editor, php - Formatting & Indentation
    Affects Versions: 11.2
            Reporter: Junichi Yamamoto
            Assignee: Junichi Yamamoto


h2. Example code
{code:php}
<?php
class ClassName {

     // ^ is the caret position
    // select "self::" in CC list
    private const CONSTANT = ^;

}
{code}
h2. Expected result
{code:php}
<?php
class ClassName {

    private const CONSTANT = self::;

}
{code}
h2. Actual result
{code:php}
<?php
class ClassName {

    private const CONSTANT = self

    ::;

}
{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

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

Reply via email to