Skip to content

Add Regex Language Service features to the IDE.#25517

Merged
dpoeschl merged 75 commits intodotnet:features/embeddedRegexfrom
CyrusNajmabadi:regexFeatures
Aug 28, 2018
Merged

Add Regex Language Service features to the IDE.#25517
dpoeschl merged 75 commits intodotnet:features/embeddedRegexfrom
CyrusNajmabadi:regexFeatures

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

This is a followup to #23984 . That PR adds the actual regex parser and corresponding tests. This PR adds support in the IDE for features such as classification and squiggles. It was broken out to make the PRs easier to review.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 16, 2018 05:25
@CyrusNajmabadi CyrusNajmabadi changed the title Add Regex Features to the IDE. Add Regex Language Service features to the IDE. Mar 16, 2018
@jcouv jcouv added the Area-IDE label Apr 1, 2018
@CyrusNajmabadi CyrusNajmabadi changed the base branch from master to features/embeddedRegex April 2, 2018 19:04
<value>Regex - Comment</value>
</data>
<data name="Regex_Character_class" xml:space="preserve">
<value>Regex - Character class</value>
Copy link
Copy Markdown
Member

@jcouv jcouv Apr 5, 2018

Choose a reason for hiding this comment

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

All other words are capitalized. Should "class" be as well? #Closed

Copy link
Copy Markdown
Contributor Author

@CyrusNajmabadi CyrusNajmabadi Apr 5, 2018

Choose a reason for hiding this comment

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

probably. will fix. #Closed

@CyrusNajmabadi CyrusNajmabadi requested review from a team as code owners April 11, 2018 03:46
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner April 19, 2018 09:30
@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@dpoeschl Anything else you would like?

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@dpoeschl can you take a look? i addressed all your feedback i think. Thanks!

Copy link
Copy Markdown
Contributor

@dpoeschl dpoeschl left a comment

Choose a reason for hiding this comment

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

💯

@jinujoseph jinujoseph removed the Need Design Review The end user experience design needs to be reviewed and approved. label Aug 28, 2018
@dpoeschl
Copy link
Copy Markdown
Contributor

dpoeschl commented Aug 28, 2018

So I think we can put this in the feature branch now. And everything in there has been reviewed so getting it into master should be easyish.

However, I'm sending a PR soon to the feature branch as well to fix some licensing things. Let's wait for that before trying to get it into master. 😄

Edit: Unless @jinujoseph dissents. :)

Copy link
Copy Markdown
Contributor

@dpoeschl dpoeschl left a comment

Choose a reason for hiding this comment

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

Integration test failure might be related.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

However, I'm sending a PR soon to the feature branch as well to fix some licensing things. Let's wait for that before trying to get it into master. 😄

Sounds good.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Looking at integration test.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Test failure is at: https://ci.dot.net/job/dotnet_roslyn/job/features_embeddedRegex/job/windows_debug_vs-integration_prtest/256/

Retesting to see if its flakeyness or actually product.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@dpoeschl how do i download the test results? i can't figure out jenkins.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

test windows_debug_vs-integration_prtest

@dpoeschl
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi #29001 updated to include this possibly related case, for which the log can be found at https://ci.dot.net/job/dotnet_roslyn/job/features_embeddedRegex/job/windows_debug_vs-integration_prtest/256/artifact/Binaries/Debug/Logs/Microsoft.VisualStudio.LanguageServices.IntegrationTests.dll.out.log, which indicates a VS crash happening at some point...

@dpoeschl
Copy link
Copy Markdown
Contributor

But I don't see a dump anywhere. @sharwell & @jasonmalinowski were working on the procdump usage in integration tests a while back, though, and I don't know that status.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

test windows_debug_vs-integration_prtest

@dpoeschl
Copy link
Copy Markdown
Contributor

I think the previous one finally started running about an hour ago. Maybe it didn't retrigger the GitHub UI? I think this is it: https://ci.dot.net/job/dotnet_roslyn/job/features_embeddedRegex/job/windows_debug_vs-integration_prtest/257/ -- it's the right queue and points to the right SHA. If it succeeds I vote we merge.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

It passed!

image

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Console output:

15:16:03 Running 2 test assemblies in 2 partitions
15:16:03    2 running,  0 queued,  0 completed
15:17:25    1 running,  0 queued,  1 completed
16:00:40    0 running,  0 queued,  2 completed
16:00:40 ================
16:00:40 Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.dll                     PASSED 00:01:21.5315387  
16:00:40 Microsoft.VisualStudio.LanguageServices.IntegrationTests.dll                PASSED 00:44:36.7094431  
16:00:40 ================
16:00:40 Extra run diagnostics for logging, did not impact run results
16:00:40 Test execution time: 00:44:37.2174516
16:00:40 All tests passed

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

it's the right queue and points to the right SHA. If it succeeds I vote we merge.

@jinujoseph Any concerns on this goign into the feature branch, and then having the feature branch merge into master?

@dpoeschl
Copy link
Copy Markdown
Contributor

Yes. The licensing PR coming later today has to happen still.

@dpoeschl
Copy link
Copy Markdown
Contributor

But into feature branch is 👍 from me.

Copy link
Copy Markdown
Contributor

@dpoeschl dpoeschl left a comment

Choose a reason for hiding this comment

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

Woohoo!

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Great! can you merge in? It will help me in terms of keeping other branches up to date. Thanks much! :)

@dpoeschl
Copy link
Copy Markdown
Contributor

Merging this into the feature branch without waiting for @jinujoseph because merging into the feature branch is approved and relatively harmless. Of course, any feedback about merging into master (other than the licensing thing) is appreciated still. 😄

@dpoeschl dpoeschl merged commit 1e0bef3 into dotnet:features/embeddedRegex Aug 28, 2018
@jcouv
Copy link
Copy Markdown
Member

jcouv commented Aug 29, 2018

Yay! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants