Skip to content

#1536 - Feature Request - Duplicate tab - #1685

Merged
Michael Niksa (miniksa) merged 9 commits into
microsoft:masterfrom
dnagl:1536-duplicate-tab
Jul 2, 2019
Merged

Michael Niksa (miniksa) merged 9 commits into
microsoft:masterfrom
dnagl:1536-duplicate-tab

Conversation

@dnagl

Copy link
Copy Markdown
Contributor

Added keybinding option to duplicate focused tab

Summary of the Pull Request

Added necessary delcarations and implmentations to provide a new keybinding for duplicating the focused tab.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

As discussed in this issue, a simple implementation for duplicating the focused tab was made by me.
I added the needed declarations for the new keybinding and added a method to duplicate the focused tab in App.cpp.

Validation Steps Performed

  • Add keybinding element to profiles.json
    • "command" : "duplicateTab"
    • "keys": [ "ctrl+shift+d" ]
  • Open Terminal
  • Verify other features and functionalities work as usual without unexpected behaviour
  • Use configured keybinding to validate the duplication of the focused tab

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run the Code Formatter located in tools\OpenConsole.psm1

Other than that, pretty straightforward. Thanks!

Comment thread src/cascadia/TerminalApp/App.cpp Resolved
@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jun 27, 2019
@JushBJJ

Copy link
Copy Markdown

Awesome feature that is needed!

@ghost ghost removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jun 28, 2019
@dnagl

Copy link
Copy Markdown
Contributor Author

Jush (@JushBJJ) I also think that this is a great feature in this project. This is one of multiple steps. in #1535 there was a discussion about three different stages of this feature which I hope we can see them in the first release.

@miniksa Michael Niksa (miniksa) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix tabs/spacing issues and I think its good

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jun 28, 2019
@dnagl

Copy link
Copy Markdown
Contributor Author

Michael Niksa (@miniksa) You were right. I did not set this option in Visual Studio in the first place. The changes are made.
Thanks for the review ;)

@zadjii-msft Mike Griese (zadjii-msft) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid to me.

@miniksa Michael Niksa (miniksa) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with this, but I'm going to try to see why the line Carlos marked is a diff despite looking exactly the same before I hit the merge button.

@ghost

Copy link
Copy Markdown

🎉Windows Terminal Preview v0.3.2142.0 has been released which incorporates this pull request.:tada:

Handy links:

@ghost ghost mentioned this pull request Aug 3, 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.

Feature Request - Duplicate tab (Basic)

5 participants