Skip to content
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

Classify items in quick info #31

Closed
GeorgeAlexandria opened this issue Aug 21, 2018 · 1 comment · Fixed by #52
Closed

Classify items in quick info #31

GeorgeAlexandria opened this issue Aug 21, 2018 · 1 comment · Fixed by #52
Assignees
Labels
discussion A issue need to be discussed before take or deprecate it features help wanted investigation A issue must be investigated to find it cause and solution solved A issue was solved
Milestone

Comments

@GeorgeAlexandria
Copy link
Owner

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

@GeorgeAlexandria GeorgeAlexandria added features investigation A issue must be investigated to find it cause and solution discussion A issue need to be discussed before take or deprecate it labels Aug 21, 2018
@GeorgeAlexandria
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion A issue need to be discussed before take or deprecate it features help wanted investigation A issue must be investigated to find it cause and solution solved A issue was solved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant