You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Czukowski (Jira)" <ji...@apache.org> on 2019/10/21 15:04:00 UTC

[jira] [Updated] (NETBEANS-3266) Code completion, navigation does not work if there is a typo in PHP header

     [ https://issues.apache.org/jira/browse/NETBEANS-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Czukowski updated NETBEANS-3266:
--------------------------------
    Description: 
Please see the attached sample project that illustrates the issue.

There is a syntax error in {{Class1.php}} - missing space between PHP header and a declaration:

{code}
<?phpdeclare(strict_types = 1);
{code}

No syntax error is reported, the syntax highlighting still works, but completion and navigation (like Go to declaration of class or method names) does nothing, even though class and method names are still being underlined when moving mouse over them with ctrl key pressed.

It may take a while for a user to realize where the problem is.

  was:
Please see the attached sample project that illustrates the issue.

There is a syntax error in {{Class1.php}} - missing space between PHP header and a declaration:

{code}
<?phpdeclare(strict_types = 1);
{code}

No syntax error is reported, the syntax highlighting still works, but completion and navigation (like Go to declaration of class or method names) does nothing, even though class and method names are still being underlined when moving mouse over them with ctrl key pressed.

It may take a while to realize where the problem is.


> Code completion, navigation does not work if there is a typo in PHP header
> --------------------------------------------------------------------------
>
>                 Key: NETBEANS-3266
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3266
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor, php - Formatting &amp; Indentation, php - Navigation
>    Affects Versions: 11.1
>         Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12
> Runtime: Java(TM) SE Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0
>            Reporter: Czukowski
>            Priority: Minor
>         Attachments: CompletionWithSyntax.zip
>
>
> Please see the attached sample project that illustrates the issue.
> There is a syntax error in {{Class1.php}} - missing space between PHP header and a declaration:
> {code}
> <?phpdeclare(strict_types = 1);
> {code}
> No syntax error is reported, the syntax highlighting still works, but completion and navigation (like Go to declaration of class or method names) does nothing, even though class and method names are still being underlined when moving mouse over them with ctrl key pressed.
> It may take a while for a user to realize where the problem is.



--
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