Skip to content

Added member classification support for c#.#24931

Merged
DustinCampbell merged 1 commit intodotnet:dev15.7.xfrom
mkrueger:dev15.7.x-classification
Feb 27, 2018
Merged

Added member classification support for c#.#24931
DustinCampbell merged 1 commit intodotnet:dev15.7.xfrom
mkrueger:dev15.7.x-classification

Conversation

@mkrueger
Copy link
Contributor

@mkrueger mkrueger commented Feb 19, 2018

Rebased #24100

Added classification for c# methods, events, fields and properties.

VB.NET is missing and unit tests. I've atm problems compiling/running the tests on my system. So do not merge it - it's untested.
But that's basically what we need in Visual Studio 4 Mac. It should be a base for discussion about classification enhancements.

esp. for making a difference between properties, events and fields this is useful.

@DustinCampbell
Copy link
Member

I've re-kicked the CI tests that failed as they don't look related to this change.

@jinujoseph
Copy link
Contributor

looping @Pilchie for Ask mode approval for 15.7.Preview2
This contains only the C# side of changes, Dustin will work on the VB side once this is merged

@Pilchie
Copy link
Member

Pilchie commented Feb 26, 2018

Approved for 15.7 P2 - thanks @mkrueger !

@mkrueger
Copy link
Contributor Author

Thanks @ALL for the help :)

@DustinCampbell DustinCampbell merged commit bc27e00 into dotnet:dev15.7.x Feb 27, 2018
DavidKarlas pushed a commit to DavidKarlas/roslyn that referenced this pull request May 26, 2018
MonoDevelop(VSfM) recently switched from using `Microsoft.CodeAnalysis.Classification.Classifier` to using `IAccurateClassifier` from VS API.
But with this switch some classifications that were added in dotnet#24931 stopped working. Reason for this is that in that commit new classifications were filtered out by converting back to classification that was used before `ClassificationTypeNames.Identifier` so VS Windows would continue working fine. But later in dotnet#25723 this ClassificationTypes were added so I assume with removing this filtering VS Windows will work just fine since ClassificationTypes that were added dotnet#25723 have BaseType `ClassificationTypeNames.Identifier`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants