Czukowski created NETBEANS-3266:
-----------------------------------

             Summary: 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 & 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
         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 to realize where the problem is.



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

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

Reply via email to