Is it possible to generate the code completion or Overload List automatically? This means not to do it manually. The available examples show how to use and implement them manually.
Thank you for your feedback
2 Answers, 1 is accepted
0
Petar Mladenov
Telerik team
answered on 14 Jan 2021, 07:44 AM
Hello Loic,
For this requirement, you need to use programmatic Roslyn compilation but it can be used only in projects targeting .Net 4.8 minimum. We plan to create an SDK sample in the near future, demonstrating integration of SyntaxEditor and Roslyn compilation. However, you can find various projects /blogs in the net - you can get the basic code you need and try to integrate it with our CompletionList:
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
We have sample code which integrates SyntaxEditor with C# CompilerServices which is based on the articles previously here. However, we need to introduce a change / new API in our CompletetionList control which shows the tooltip (check attached image) so that it accepts descriptions which are downloaded asynchronously with Lazy API. If that is of interest of you , we can send the demo in one of the following forms:
- demo with partially working tooltip, if you reference official telerik binaries
- demo with working tooltip with custom binaries , so that you can test a future version that we will introduce
We can introduce such API change (in completion list) in some internal build next month or in R1 2022 as an eventual official release the earliest.
Regards,
Petar Mladenov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.