-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
use ReadonlyArray for DocumentSelector #10070
Conversation
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.
@smart-bo thank you for the pull-request 👍
Please be sure to properly sign the eclipse contributor agreement (eca) with the same email as your authorship so we can accept your changes.
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.
The code looks good to me 👍
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.
@smart-bo thx for the contribution. I have a couple of nitpicks.
({ | ||
range: fromRange(r)! | ||
})); | ||
({ |
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 not the formatting the typescript formatter creates. Let's stick to that unless there is a compelling reason.
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.
Do you have directions on how to set this up? VS Code formats like this.
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.
@paul-marechal it doesn't for me 🤷
What it does
Change
Array<DocumentFilter>
toReadonlyArray<DocumentFilter>
at:theia/packages/plugin/src/theia.d.ts
Fix #10025
How to test
N/A
Review checklist
Reminder for reviewers