This is a migrated thread and some comments may be shown as answers.

Intelliprompts

2 Answers 223 Views
SyntaxEditor
This is a migrated thread and some comments may be shown as answers.
Paul-Henri
Top achievements
Rank 1
Paul-Henri asked on 11 Jan 2021, 01:40 PM
Hello,

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

Sort by
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:

https://www.strathweb.com/2018/12/using-roslyn-c-completion-service-programmatically/
https://github.com/aelij/RoslynPad

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/.

Stéphane
Top achievements
Rank 1
Iron
commented on 21 Oct 2021, 01:36 PM

Hello,  some news about the SyntaxEditor+Roslyn sample ?
Regards
Stéphane Bertoli

0
Petar Mladenov
Telerik team
answered on 25 Oct 2021, 12:36 PM

Hi Stéphane,

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/.

Stéphane
Top achievements
Rank 1
Iron
commented on 01 Nov 2021, 07:00 AM

Thank you Petar for the informations. I will wait for some official release.

Regards, Stéphane Bertoli

Tags
SyntaxEditor
Asked by
Paul-Henri
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or