JADEĀ  Environment Development Ideas

F11 twice on reference default to primary schema

If I have the following setup:

SuperSchemaA

>SubSchemaB

In SubSchemaB if I F11 twice on a reference thats class belongs in SuperSchemaA it will open up another class browser with that class but the schema is SubSchemaB. I would like to see the default class browser open up in the schema that this class belongs to.

  • Sam Stokell
  • Aug 3 2020
  • Needs review
  • Attach files
  • BeeJay commented
    04 Aug 04:40

    I had intended to say in the interim you could use Shift+F11 when you want to navigate to the class in the schema where it's defined. I didn't mean to imply in any way that the currently somewhat inconsistent behaviour should be retained.

  • Sam Stokell commented
    03 Aug 05:45

    thanks will try Shift +F11 but I would have thought it should be consistent. Most of the time I'm not just blindly pushing F11 twice I'm starting with F11 to see what the class is and maybe some Member key information if its a collection. Then I'll push F11 again if I need to go onto that class

  • BeeJay commented
    03 Aug 02:12

    I actually never use the double press on F11 shortcut as I find using Shift+F11 an easier and more efficient option than double pressing on the F11 key, especially as you don't have that momentary delay while a tool tip is being displayed from the first F11 keypress. The side-benefit of always using that alternate shortcut is that I've never actually noticed this behaviour, because the Shift+F11 shortcut will navigate to a new class browser with the class of the reference selected and in the schema context where that class is actually defined.

    You may want to consider using Shift+F11 instead of double pressing F11. It soon becomes second nature and when the element which currently contains the editor carat is a method, Shift+F11 still navigates to that method. These days, about the only time I use F11 without the Shift key is when I want to see the value of a constant or translatable string.