-
Notifications
You must be signed in to change notification settings - Fork 513
Enable formatOnType feature #505
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
Conversation
Needs rebase after #501 is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, nice work!
"powershell", | ||
this.documentFormattingEditProvider, | ||
this.firstTriggerCharacter, | ||
...this.moreTriggerCharacters); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is such a bizarre way for them to define this API... If it's a new API why have a "first" param and then a "more" param? Weird.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, they could just have one argument taking in triggerCharacters instead of this!
13d121c
to
1160398
Compare
Rebased on |
This enables "editor.formatOnType" option in vscode settings.
Related PR: PowerShell/PowerShellEditorServices#370