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

Code snippet: Add support for an array of prefixes #7177

Merged
merged 1 commit into from
Feb 20, 2020
Merged

Code snippet: Add support for an array of prefixes #7177

merged 1 commit into from
Feb 20, 2020

Conversation

garethwhittaker
Copy link
Contributor

What it does

Fixes: #7167

Theia code snippets currently only support a single prefix, whilst VS Code additionally supports an array of prefixes.
This PR brings Theia's support for code snippet prefixes inline with this.

How to test

Try using a snippet with an array of prefixes and ensure these can be utilised.
Check for a regression in snippets with a string prefix.

Review checklist

Reminder for reviewers

Copy link
Contributor

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

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

LGTM

@akosyakov akosyakov added the monaco issues related to monaco label Feb 20, 2020
@akosyakov
Copy link
Member

@garethwhittaker Could you rebase please? then we can merge it

Fixes: #7167

Signed-off-by: Gareth Whittaker <garethwhittaker@hotmail.com>
@akosyakov akosyakov merged commit ab1f853 into eclipse-theia:master Feb 20, 2020
@garethwhittaker garethwhittaker deleted the snippet-prefix-array-support branch February 20, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monaco issues related to monaco
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snippets should support an array prefix
3 participants