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

   ### Description
   
   In the application resource, there are same named classes, that I never want 
to directly use, but every suggestions or the function „fix usages“ works with 
them and still ask me if I mean them...
   
   Some of them I can selectively add into the ignore, but some of them I 
can't, because i need their interface (methods, properties) suggestions, but 
the code works just with extended same named (in different namespace) class.
   
   For example, the framework comes with:
   
   ```php
   <?php
   
   namespace Vendor\Framework;
   
   abstract class BasePresenter {
       public const FOO = 'foo';
   
      public method doSomething() {
      }
   
      protected method handleRequest() {
      }
   }
   ```
   
   My application comes with:
   
   ```php
   <?php
   
   namespace MyVendor\Project;
   
   use Framework\BasePresenter as FrameworkBasePresenter;
   
   abstract class BasePresenter extends FrameworkBasePresenter {
      public method doSomething() {
          parent::doSomething();
          // .... some logic here
      }
   }
   ```
   
   Everytime I create new Presenter like ...
   
   ```php
   <?php
   
   namespace MyVendor\Project;
   
   class FooPresenter extends B...
   ```
   
   the Netbeans suggest/ask me if I want to use 
`Vendor\Framework\BasePresenter` or `MyVendor\Project\BasePresenter`.
   and the response will be everytime the same.
   
   It will be nice to have a possibility to said "everytime I mean 
`MyVendor\Project\BasePresenter` in this project
   
   ### Use case/motivation
   
   Faster / fully automatic code suggestions -> less errors in the code 
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


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