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

   ### Description
   
   Hi, 
   Normally, when pressing F3 on a function, a popup allow to choose among same 
functionson different files.
   But in Javascript files it is not working well. 
   
   ### Use case/motivation
   
   I have a JS file and a minified version of it. 
   When pressing F3 it goes directly to the minified one, no proposition of 
other location. Same thing if this is called from an HTML file.
   It seems not working when the function is inside an object and the function 
is called with the object name.
   
   Example
   
   
   ```
   // file code.js
   var myObject = {
       myFunction() {
           alert('here i am');
       },
       myCall(){
           this.myFunction(); // Pressing F3 on myFunction goes to code.min.js
       }
   };
   myObject .myFunction(); // Pressing F3 on myFunctios goes to code.min.js
   
   // file code.min.js
   var myObject={myFunction() {alert('here i 
am');},myCall(){this.myFunction();}};myObject .myFunction();
   ```
   
   
   Is it possible to have the proposition of the 2 locations, or favor the 
function inside the same file?
   Thank you
   
   ### 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