VsixCommunity / Community.VisualStudio.Toolkit

Making it easier to write Visual Studio extensions
Other
253 stars 44 forks source link

CodeLens support #371

Open RobertvanderHulst opened 2 years ago

RobertvanderHulst commented 2 years ago

We have created VS support for our own development language. We are now looking into adding CodeLens support. Does anybody know of an example showing how to enable this inside the VS editor and how to "feed" it. Ideally we would like to show Authors and Changes for TFS and Github and maybe more.

madskristensen commented 2 years ago

This is the best write up I've seen: https://www.codingwithcalvin.net/extending-visual-studio-codelens-functionality/

RobertvanderHulst commented 2 years ago

@madskristensen Thanks for the link. This however adds support to a language that already is "codeLens" aware. Do you have any idea what we have to do to get for example the existing TFS and Github codelens providers to work in our development language with our content type (apart from hacking them and adding our language as supported Content type) .

madskristensen commented 2 years ago

I do not know, sorry

MariaSolOs commented 1 year ago

@RobertvanderHulst I'm unaware of your language's design, but you could perhaps achieve this with LSP.

RobertvanderHulst commented 1 year ago

@MariaSolOs We are looking into turning our Language Service into LSP, because that would also allow it to be used in other IDEs like VS Code.