-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Adapt IDE to new record syntax #44880
Conversation
using Microsoft.CodeAnalysis.Test.Utilities; | ||
using Roslyn.Test.Utilities; | ||
using Xunit; | ||
|
||
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendations | ||
{ | ||
public class DataKeywordRecommenderTests : KeywordRecommenderTests | ||
public class RecordKeywordRecommenderTests : KeywordRecommenderTests |
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.
RecordKeywordRecommenderTests [](start = 17, length = 29)
📝 this file is a duplicate of ClassKeywordRecommenderTests with one or two tests added, such as typing in position nested in record.
Pulled in @mavasani to help out with review since we're trying to merge this today. Thanks! |
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.
LGTM. All the changes look reasonable, though I don't have enough context to know if some places were missed out from being updated. If it turns out so, I don't see a problem in updating them later on.
@dotnet/roslyn-ide Can someone else also do a quick review as an additional sanity? |
@dotnet/roslyn-ide If anyone wants to take a look, please do it quick. We're aiming to get all records PRs merged by tonight. |
In particular, this removes completion for
data
and adds completion forrecords
. This also fixes some other recommenders and fixers that didn't trigger on the new type syntax.Relates to #40726 (test plan)