Skip to content

always runs in active terminal #1619

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

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Nov 29, 2018

PR Summary

fixes #1607

Note: I decided against having this behavior to be configurable. The thought was that most people will only use the PowerShell Integrated Console.

In #1607 I brought up worry about people getting confused that their intellisense cache was not updating if they use pwsh instead of PSIC... I think perhaps this is a worry that does not exist and if it does and they open an issue, we can educate them.

Thoughts?

NOTE this relies on an engine update to 1.29 which is the current release. We probably don't want to merge this in until 1.30 is released
1.30 has been released

NOTE I seem to have found a potential bug (microsoft/vscode#64390) in VSCode with this change... can't merge this in until it's sorted

The bug has been fixed. We can probably merge this in when 1.31.0 drops.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • PR has tests - N/A
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM :)

@TylerLeonhardt
Copy link
Member Author

cc @alexandair

Copy link
Contributor

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@rjmholt rjmholt left a comment

Choose a reason for hiding this comment

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

LGTM! The package changes might have conflicts with the PR I merged earlier...

@alexandair
Copy link

@TylerLeonhardt Thank you so much. It will make it much easier to use various shells. Azure Cloud Shell, I'm looking at you. :)

It will work with multiple lines when a backtick is used as a continuation character, right?

@TylerLeonhardt
Copy link
Member Author

I seem to have found a potential bug in VSCode with this change... can't merge this in until it's sorted:

microsoft/vscode#64390

@TylerLeonhardt TylerLeonhardt changed the title F8 always runs in active terminal DO NOT MERGE F8 always runs in active terminal Dec 4, 2018
@TylerLeonhardt TylerLeonhardt merged commit f186c60 into PowerShell:master Feb 8, 2019
@TylerLeonhardt TylerLeonhardt deleted the conditional-F8 branch February 8, 2019 22:49
@alexandair
Copy link

@TylerLeonhardt Excellent.

@TylerLeonhardt TylerLeonhardt changed the title DO NOT MERGE F8 always runs in active terminal always runs in active terminal Feb 10, 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.

I want F8 to run selected text in the active terminal, not just in the "Integrated PowerShell Console"
5 participants