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

Set featureFlag default to null so that it can be resolved by settings #1838

Merged
merged 2 commits into from
Apr 3, 2019

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Apr 2, 2019

PR Summary

This will properly enable PSReadLine by default because the setting will be resolved by the extension here. Something tells me I had this set, but didn't actually commit it... 😅

fixes #1822

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
  • 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

@rkeithhill
Copy link
Contributor

So we are still only enabling PSRL by default on Windows? Sorry, haven't been using VSCode and the extension of Linux much lately. Is there a problem with PSRL on Linux/macOS?

@TylerLeonhardt
Copy link
Member Author

TylerLeonhardt commented Apr 2, 2019

It's a problem with PSES + PSRL on Linux/MacOS. Unfortunately, due to differences in System.Console API's and some threading issues, with PSRL enabled on unix, it holds on to the pipeline thread meaning no editor features at all :(

@rkeithhill
Copy link
Contributor

Bummer!

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

@TylerLeonhardt
Copy link
Member Author

These tests should probably be fleshed out to make sure they're set to what we expect... but I'll call that out of scope for now.

@TylerLeonhardt TylerLeonhardt merged commit 0a03861 into PowerShell:master Apr 3, 2019
@TylerLeonhardt TylerLeonhardt deleted the psrl-on-by-default branch April 3, 2019 03:18
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.

Preview 2 still needs PSReadLine developer flag set
3 participants