mvorisek opened a new issue, #7259:
URL: https://github.com/apache/netbeans/issues/7259

   ### Description
   
   ```
   <?php
   
   namespace Data\Mysql;
   
   use Data\Query as BaseQuery;
   use Data\Query2;
   
   class Query extends BaseQuery {}
   
   class MyQuery2 extends Query2 {}
   ```
   
   ### Use case/motivation
   
   In the example, the imported `Query` base class needs to be aliased as it 
collides with the `Query` class declaration for MySQL.
   
   When the `extends Query2` is clicked by mouse, user is navigated to the 
source class.
   
   However when the `extends BaseQuery` is clicked, user is navigated to the 
import which is unwanted, as the cursor position in the current file changes 
and an additional click is needed to navigate the source.
   
   I would expect the clicking the `extends BaseQuery` to navigate to the 
`Data\Query` source class directly.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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