Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
11.1
-
None
-
None
-
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
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:
<?phpdeclare(strict_types = 1);
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.