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

[Feature] WIP: Keybindings added to navigate between tabs. #817

Closed

Conversation

grady-lad
Copy link

What kind of change does this PR introduce?
This feature introduces two new keybindings:
Switch To Next Tab & Switch To Previous Tab

switchtabdemo

What is the current behavior?
See #761

What is the new behavior?

Switch To Next Tab: Keybinding allowing users to create a shortcut to switch to the next tab

Switch To Previous Tab: Keybinding allowing users to create a shortcut to switch to the previous tab

Checklist:

  • Documentation N/A
  • Tests N/A
  • Ready to be merged N/A
  • Added myself to contributors table N/A

Additional comments
I have introduced the functionality to switch between tabs in both directions. When testing the PR it seems I ran into a few snags:

  1. I found it hard to find appropriate default keybinding values that worked, as some were taken by the browser. Open to suggestions here as to what they should be and if they should be able to overwrite browser defaults?

  2. Also in terms of usability if a keybinding was created with multiple keys eg. Control + S after the first execution I would expect the keybinding to still execute if the user held Control and repeatedly pressed S, currently this is not the situation. To switch to the next tab the user has to repeatedly press Control + S

Please Note: The default keybindings in the PR are not final they were just used for testing purposes and can be changed to more appropriate keys

@grady-lad grady-lad changed the title [Feature] WIP: Keybindings added to navigate between open files. [Feature] WIP: Keybindings added to navigate between tabs. May 9, 2018
@bora89
Copy link

bora89 commented Jun 20, 2018

Yeah, it would be super cool if there will be any shortcuts for tabs navigation. When aprox it will be merged?

@bora89
Copy link

bora89 commented Jun 20, 2018

Consider this shortcuts: CTRL + J, CTRL + K, very handy in my opition

@SaraVieira
Copy link
Contributor

Hey!

Sorry for the quiet time and for I am about to say but due to us changing to VSCode this is now handled by VSCode so we don't need that extra logic

Sorry again and thank you for taking the time to contribute

@SaraVieira SaraVieira closed this Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants