Skip to content

Add context for when Output is Focused / Visible #44372

Closed

Description

@3v1n0

I wanted to customize my keybindings depending on the OutputPanel state, but it looks there's no clause to set in the when stanza for it.

Activity

  1. added
    keybindings
    on Feb 26, 2018
  2. added
    feature-request
    on Feb 26, 2018
  3. isidorn commented on Feb 27, 2018

    @isidorn

    There is a context inOutput, please try that

  4. added
    *question
    on Feb 27, 2018
  5. 3v1n0 commented on Feb 27, 2018

    @3v1n0
    Author

    Ok that works when if focused (but needs to be documented), what about when it's visible?

  6. changed the title [-]Add context for when Output is Focused[/-] [+]Add context for when Output is Focused / Visible[/+] on Feb 27, 2018
  7. isidorn commented on Feb 27, 2018

    @isidorn
  8. added
    help wanted
    and removed
    *question
    on Feb 27, 2018
  9. added
    verification-needed
    on May 18, 2018
  10. roblourens commented on May 30, 2018

    @roblourens
    Member

    "when": "activePanel == 'workbench.panel.repl'" works but how does a user learn the panel ID?

  11. added
    verified
    on May 30, 2018
  12. isidorn commented on May 31, 2018

    @isidorn

    roblourens good point. However we already had that issue with the viewlets, since we already have a "activeViewlet" conext key.
    We should document this properly Greg Van Liew (@gregvanl)

  13. locked and limited conversation to collaborators on Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requesthelp wantedkeybindingsverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions