This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262439

Summary: No easy way to rerun lexer
Product: editor Reporter: Tomas Mysik <tmysik>
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 262653    

Description Tomas Mysik 2016-06-15 08:17:21 UTC
In PHP, there is a possibility to use short (<?) and ASP (<%) tags next to the standard PHP tags (<?php). These short and ASP tags are deprecated but a lot of (legacy) projects still use it, of course. Therefore we need to handle it correctly in PHP lexer - in Project Properties, we have options for it and we need to read this option for every source. This can, of course, cause performance problems since we need to find project for every file and read its properties.

It would be nice if we could simply use the default settings (which would be OK in most of the cases) and (on background) check whether these options in the given project are not different; if they are, we would just somehow force rerun of the "current" lexer.

Maybe this is more an enhancement. Thanks!