Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: Git uses vscode.open and vscode.diff #111519

Closed
2 tasks done
joaomoreno opened this issue Nov 30, 2020 · 3 comments
Closed
2 tasks done

Test: Git uses vscode.open and vscode.diff #111519

joaomoreno opened this issue Nov 30, 2020 · 3 comments

Comments

@joaomoreno
Copy link
Member

joaomoreno commented Nov 30, 2020

Refs: #110397

Complexity: 3

Create Issue


The git extension changed considerably the way it opens files/diffs from the SCM view.

  • Test that opening new files, deleted files, changed files, etc, works as expected
  • Test that the standard tree mouse/keyboard interactions work: ctrl+click (open to side) and double click (open not in preview)
  • Test that settings which control the actions above are respected, such as workbench.list.openMode
@bpasero
Copy link
Member

bpasero commented Dec 1, 2020

👏 . Only thing I wasn't sure about is: if I have configured "workbench.list.openMode": "doubleClick", a single middle-mouse click does not open. But maybe that is intentional. At least a double-middle-click was not working either.

@JacksonKearl JacksonKearl removed their assignment Dec 1, 2020
@JacksonKearl
Copy link
Contributor

All looked good to me on Ubuntu.

@eamodio
Copy link
Contributor

eamodio commented Dec 1, 2020

I think it looks good on Windows too. Below are some scenarios that I think make sense, but just documenting to make sure.

FYI, all the double-clicks are sometimes flakey. You really have to wait for the dblclick timeout to expire, before clicking again.

With "workbench.list.openMode": "singleClick" and "workbench.list.multiSelectModifier": "ctrlCmd":

  • Ctrl+Click select/unselect
  • Ctrl+DblClick opens to the side - not in preview
  • Alt+Click opens to the side in preview
  • Alt+DblClick opens to the side - not in preview

With "workbench.list.openMode": "singleClick" and "workbench.list.multiSelectModifier": "alt":

  • Ctrl+Click opens to the side in preview
  • Ctrl+DblClick opens to the side - not in preview
  • Alt+Click select/unselect
  • Alt+DblClick opens to the side - not in preview

With "workbench.list.openMode": "doubleClick" and "workbench.list.multiSelectModifier": "ctrlCmd":

  • Ctrl+Click select/unselect
  • Ctrl+DblClick opens to the side - not in preview
  • Alt+Click does nothing
  • Alt+DblClick opens to the side - not in preview

With "workbench.list.openMode": "doubleClick" and "workbench.list.multiSelectModifier": "alt":

  • Ctrl+Click does nothing
  • Ctrl+DblClick opens to the side - not in preview
  • Alt+Click select/unselect
  • Alt+DblClick opens to the side - not in preview

@eamodio eamodio removed their assignment Dec 1, 2020
@eamodio eamodio closed this as completed Dec 1, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants