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

Expose text selection through terminal WPF control API #7121

Merged
2 commits merged into from
Jul 30, 2020

Conversation

javierdlg
Copy link
Member

@javierdlg javierdlg commented Jul 29, 2020

We've been trying to improve the copy/paste experience with the terminal
in Visual Studio. Once of our problematic scenarios is when the terminal
is connected to a remote environment and the user attempts to
copy/paste. This gets forwarded to the remote shell that copy/paste into
the remote clipboard instead of the local one.

So we opted to add ctrl+shift+c/v to the terminal and need access to the
selected text via the terminal control

VALIDATION
Tested with Visual Studio integrated terminal

@javierdlg javierdlg requested a review from ZoeyR July 29, 2020 23:26
@javierdlg javierdlg changed the title Exposed selection to terminal control API Exposed text selection to terminal control API Jul 29, 2020
@javierdlg javierdlg changed the title Exposed text selection to terminal control API Exposed text selection through terminal WPF control API Jul 29, 2020
@ZoeyR ZoeyR requested a review from DHowett July 30, 2020 01:04
@javierdlg
Copy link
Member Author

@DHowett would it be possible to get a release for this PR? Doesn't need to go into the official feed, we just need a signed package that we can upload to our own feed and consume it in the VS side.

@DHowett
Copy link
Member

DHowett commented Jul 30, 2020

@javierdlg sure, what base version do you need this serviced to?

@DHowett DHowett changed the title Exposed text selection through terminal WPF control API Expose text selection through terminal WPF control API Jul 30, 2020
@DHowett DHowett added the AutoMerge Marked for automatic merge by the bot when requirements are met label Jul 30, 2020
@ghost
Copy link

ghost commented Jul 30, 2020

Hello @DHowett!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost
Copy link

ghost commented Jul 30, 2020

Apologies, while this PR appears ready to be merged, it looks like master is a protected branch and I have not been granted permission to perform the merge.

@DHowett DHowett added AutoMerge Marked for automatic merge by the bot when requirements are met and removed AutoMerge Marked for automatic merge by the bot when requirements are met labels Jul 30, 2020
@ghost ghost merged commit f486a65 into master Jul 30, 2020
@ghost ghost deleted the dev/jadelaga/GetTerminalSelectedText branch July 30, 2020 16:55
@javierdlg
Copy link
Member Author

@javierdlg sure, what base version do you need this serviced to?

@DHowett microsoft.terminal.wpf.1.1.200720001-release1 is the latest official release, so that one works or any other more recent one.

DHowett pushed a commit that referenced this pull request Jul 31, 2020
We've been trying to improve the copy/paste experience with the terminal
in Visual Studio. Once of our problematic scenarios is when the terminal
is connected to a remote environment and the user attempts to
copy/paste. This gets forwarded to the remote shell that copy/paste into
the remote clipboard instead of the local one.

So we opted to add ctrl+shift+c/v to the terminal and need access to the
selected text via the terminal control

VALIDATION
Tested with Visual Studio integrated terminal

(cherry picked from commit f486a65)
DHowett pushed a commit that referenced this pull request Jul 31, 2020
We've been trying to improve the copy/paste experience with the terminal
in Visual Studio. Once of our problematic scenarios is when the terminal
is connected to a remote environment and the user attempts to
copy/paste. This gets forwarded to the remote shell that copy/paste into
the remote clipboard instead of the local one.

So we opted to add ctrl+shift+c/v to the terminal and need access to the
selected text via the terminal control

VALIDATION
Tested with Visual Studio integrated terminal

(cherry picked from commit f486a65)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoMerge Marked for automatic merge by the bot when requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants