You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appear to be two "modern" ways to provide syntax highlighting for languages in VS: classifiers (IClassifier) and taggers (ITagger<T>) but no guidance about when one or the other should be used. This example uses a tagger to provide classification whereas this example uses a classifier.
I tried to understand when to use each over in the docs repository last year but got no feedback, so asking here to see if I fare any better.
When should i use a tagger over a classifier?
Can the two be mixed?
Are classifiers implemented in terms of taggers anyway?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There appear to be two "modern" ways to provide syntax highlighting for languages in VS: classifiers (
IClassifier
) and taggers (ITagger<T>
) but no guidance about when one or the other should be used. This example uses a tagger to provide classification whereas this example uses a classifier.I tried to understand when to use each over in the docs repository last year but got no feedback, so asking here to see if I fare any better.
Beta Was this translation helpful? Give feedback.
All reactions