GeorgeAlexandria/CoCo

Classify items in quick info

Closed this issue · 1 comments

Would be nice if a text in the quick info will classify as in the text editor in the first approximate

After a lot of investigation I understand that doesn't exist a way to integrate a custom classifier to the default generated text for quick info. Is only one way to apply custom classifications to quick info – create text of quick info by hand and apply the relevant ClassifiedTextRun of analyzing node.

Besides, in the Microsoft.CodeAnalysis.*.2.9.0 will introduced a public QuickInfoService that allows to get a raw tagged text for applying to them a some custom analysis, but unfortunatly, the WellKnownTags doesn't contain a couple of CoCo classifications. So, for full supporting CoCo classifications in the quick info need to generate a quick info by hand anyway.

Well, I will try to generate full quick info text for nodes and symbols by myself as close as possible to the default quick info text, but it will be not so far.

Would be grateful If I really miss something if someone from community will have a some suggestions for issue.