[ 
https://issues.apache.org/jira/browse/NETBEANS-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17229975#comment-17229975
 ] 

Czukowski commented on NETBEANS-5011:
-------------------------------------

Well, it is understandable, but not very user friendly and kind of defeats the 
purpose of having the PHP version setting in the project. If I remember 
correctly, there is _some_ level of support based on that setting. I've had to 
maintain some old projects in the past and just changing that setting to the 
correct version has always made it work without any issues and I liked NetBeans 
for that.

But if it's not really possible (not even to have a different grammar file per 
'supported' PHP version?), then you should probably remove that setting and all 
associated code. If there's no ambiguity, there won't be any questions :)

 

p.s. Upgrading NetBeans to a newer version is not only for new features, but 
also in hope that some of the existing issues would be fixed. A situation like 
this will put the users into a lose-lose situation, where they'll have to give 
up one thing or another based on a choice they make.

> Match keyword marked as syntax error despite PHP version in Project settings
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-5011
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5011
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor
>    Affects Versions: 12.2
>         Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>            Reporter: Czukowski
>            Assignee: Junichi Yamamoto
>            Priority: Minor
>         Attachments: image-2020-11-11-10-36-51-198.png, 
> netbeans-5011-with-php8.0.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.png!



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

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