# Ctrl+Click on a package won't open if the params are not specified correctly : Bug or Feature?

**URL:** <https://forums.toadworld.com/t/ctrl-click-on-a-package-wont-open-if-the-params-are-not-specified-correctly-bug-or-feature/33149>\
**Category:** SQL Navigator\
**Created:** [April 19, 2015, 10:35pm UTC](https://forums.toadworld.com/t/ctrl-click-on-a-package-wont-open-if-the-params-are-not-specified-correctly-bug-or-feature/33149 "2015-04-19T22:35:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MPAX](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mpax/32/83_2.png) [@MPAX](https://forums.toadworld.com/u/MPAX)\
**Post date:** [April 19, 2015, 10:35pm UTC](https://forums.toadworld.com/t/ctrl-click-on-a-package-wont-open-if-the-params-are-not-specified-correctly-bug-or-feature/33149/1 "2015-04-19T22:35:06Z")

</div>

Hi. During some upgrades of SQLnav versions (don’t know which one exactly) ctrl+clikcing on a package/procedure got a little different.

Example:

CREATE OR REPLACE PACKAGE mpa\_test\_pkg  
IS  
PROCEDURE test(p\_name IN VARCHAR2);  
END;

CREATE OR REPLACE PACKAGE BODY mpa\_test\_pkg  
IS  
PROCEDURE test(p\_name IN VARCHAR2)IS BEGIN NULL; END;  
END;

BEGIN  
mpa\_test\_pkg.test(p\_name =\> ‘abc’);  
END;

This procedure executes fine and ctrl+click will open the package (or body - it depends on preferences).

If I misspell the parameter name, there’s error:  
 ![ScreenShot350.jpeg](https://global.discourse-cdn.com/quest/original/2X/5/5743cfae1c076d85b207ec99f1e27d35780359bd.jpeg)

That’s fine but when I click on the function name again with CTRL, the package won’t open and it shows a message in the Output:  
 ![ScreenShot351.jpeg](https://global.discourse-cdn.com/quest/original/2X/3/3e315a7630f97d1dace9954cc49b4967b7c12a01.jpeg)

I think that’s also kind of fine, because it’s true. There isn’t such a procedure with that specific parameters.

Although I would want at least just to open the package with CTRL+click to see the parameters and correct my mistakes. I tried to click on the package body - nothing.

Maybe it would be a little misleading to fix this “bug” to go to the first procedure in the package with the name (regardless of the misspelled parameters) because there could be other procedures and the actual one I’m trying to call is maybe somewhere further, but I think it worked that way earlier. And most of the times there really will be only one procedure (let’s not get carried away with overloaded procedures :)).

Anyway while I was posting this, I discovered that there IS a way to get it work like I want it! **Just click on the opening bracket right after the procedure name!**

I don’t know is it a feature or not. I just want to get your opinion on this.

---

<div class="post-metadata">

**Author:** ![michael](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@michael](https://forums.toadworld.com/u/michael)\
**Post date:** [April 19, 2015, 11:49pm UTC](https://forums.toadworld.com/t/ctrl-click-on-a-package-wont-open-if-the-params-are-not-specified-correctly-bug-or-feature/33149/2 "2015-04-19T23:49:58Z")

</div>

Hi Martin,

Thanks for report this issue to us.

we have exist issue SQLNAV-1847 for this and we will fix it in next version.

Thanks,

Michael
