[
https://issues.apache.org/jira/browse/NETBEANS-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junichi Yamamoto updated NETBEANS-3103:
---------------------------------------
Description:
h2. Example code
{code:php}
<?php
class ClassName {
// ^ is the caret position
// select "self::" or "parent::" 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}
was:
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}
> 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
> Priority: Major
>
> h2. Example code
> {code:php}
> <?php
> class ClassName {
> // ^ is the caret position
> // select "self::" or "parent::" 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists