fsprojects-archive / zzarchive-VisualFSharpPowerTools

[ARCHIVED] Power commands for F# in Visual Studio
http://fsprojects.github.io/VisualFSharpPowerTools/
Apache License 2.0
310 stars 77 forks source link

SymbolClassifier -> FSharp.Editing #1424

Open cloudRoutine opened 7 years ago

cloudRoutine commented 7 years ago

Dependent upon completion of VSLanguageService #1412

It seems like only a small amount of the functionality of updateSyntaxConstructClassifiers can be extracted and moved to Core. We should be able to extract the symbol checking and classifying into a function that returns a CategorizedSpan [] and a FSharpErrorInfo [] that can be translated into SnapshotSpans on the Logic side.

Code Located @ https://github.com/fsprojects/VisualFSharpPowerTools/blob/master/src/FSharp.Editing.VisualStudio/Coloring/SymbolClassifier.fs