Context menu actions should default to Selected scope

Issue #177 resolved
Jonathan Toland created an issue

Deploying a directory from the project navigator should default to that directory's selection. It'd be even nicer if there were a variation to skip the dialog.

Comments (7)

  1. Scott Wells repo owner

    I could make the default for the first time an application-level configuration option, but the dialog should remember your last choice, so you should only have to change it once.

  2. Vivek M. Chawla

    I think that Texas is right. The behavior of the "deploy" command should be context-driven at all times (if IDEA supports that).

    For example, if you right-click on a directory and choose "deploy", then it should always default to that selection.

    If you right click inside of a single code file in the editor, and execute the "deploy" command that way, it should default to deploying that single file.

    On the other hand, if you use the keyboard shortcut for deployment, it should remember your last choice.

    This kind of "context driven" functionality is hardwired into us after multiple decades of using GUI systems. It's really jarring when the UI does not behave like this.

  3. Scott Wells repo owner

    Yeah, I was having the same thought. Right now the exact same action is invoked regardless of whether it's from the keyboard, menu bar, or context menu. I agree that when invoked from the context menu, it should default to the actual context. I'll see if there's an easy way to determine how the action was invoked to decide which way to go.

  4. Log in to comment