Skip to content

Allow an embedded language to participate in document highlighting.#26075

Merged
jmarolf merged 2 commits intodotnet:features/embeddedRegexfrom
CyrusNajmabadi:embeddedHighlights
Apr 11, 2018
Merged

Allow an embedded language to participate in document highlighting.#26075
jmarolf merged 2 commits intodotnet:features/embeddedRegexfrom
CyrusNajmabadi:embeddedHighlights

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi commented Apr 10, 2018

This wasn't part of the previous embedded-language-services PR because that PR just contained the features necessary for embedded-json. Embedded-json doesn't have a need (afaict) for 'document highlights', whereas embedded-regex does.

Note: this should be reviewed after #26074 goes in.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner April 10, 2018 19:22
@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@jcouv @jmarolf @dotnet/roslyn-ide The same code that just went into features/embeddedJson. This is the system that allows an embedded language to export the right language services so that they light up automatically, without needing the actual features to know about this specific new language.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

tagging @jcouv @jmarolf . much simpler now.

@jmarolf
Copy link
Copy Markdown
Contributor

jmarolf commented Apr 10, 2018

This is much simpler. What is our strategy for tests here? Is that going to be resolved in a different PR?

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Yes. All of these are tested in their respective "JSON ide features" and "Regex IDE features" PRs. Those are the PRs that actually add the impls for those interfaces, so those are the best PRs to actually validate that they're doing the right thing.

@jmarolf jmarolf merged commit 62556f5 into dotnet:features/embeddedRegex Apr 11, 2018
@jcouv jcouv added the Area-IDE label Apr 15, 2018
@CyrusNajmabadi CyrusNajmabadi deleted the embeddedHighlights branch January 25, 2020 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants