Skip to content

Allow SmartInsertQuote to surround keywords #1289

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 3 commits into from
Jan 13, 2020

Conversation

theaquamarine
Copy link
Contributor

Previously it wasn't possible to type an apostrophe before a keyword with SmartInsertQuote on, now keywords are surrounded correctly.
hasFlag() requires .net framework 4.0 or .net core

Previously it was impossible to type an apostrophe before a keyword with SmartInsertQuote on, now keywords are surrounded correctly.
`hasFlag()` requires .net framework 4.0 or .net core
Prevent a failure mode where SmartInsertQuote fails to insert anything if at the start of an extent but token is not a kind SmartInsertQuote is set to wrap.
@daxian-dbw
Copy link
Member

Oops, didn't know you fixed the return statement here.
I will revert my change in #1288 then.

@daxian-dbw daxian-dbw merged commit 40a0285 into PowerShell:master Jan 13, 2020
@theaquamarine theaquamarine deleted the SmartInsertQuote-Keyword branch January 14, 2020 21:59
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.

2 participants