Posted 2 years ago by Gavin Huet
Avatar

Hi,

Is there anything on the roadmap for including any AI features such as:

https://devblogs.microsoft.com/visualstudio/github-copilot-in-visual-studio-2022/

Could be a useful integration even if users need to pay extra in order to activate it.

Many thanks

Gavin

Comments (5)

Answer - Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Gavin,

We currently do not have any direct plans to include AI-based integrations ourselves, but the extensible API of SyntaxEditor could be used to integrate 3rd-party solutions.


Actipro Software Support

The latest build of this product (v24.1.1) was released 7 months ago, which was before the next post in this thread.
Posted 2 months ago by Gavin Huet
Avatar

Hi again, just thought I would revisit this topic especially now that AI is being integrated everywhere.

As AI in the coding world is now very much like the Intellisense and AutoComplete functionality I was thinking that it would be great to have the hooks wired into the SyntaxEditor so that developers could then add in their own AI implementation i.e. the SyntaxEditor would have the functionality to display the AI suggestion and the key combination to insert it into code, but the AI code suggestion would have to be provided by the developers using their preferred models.
Or maybe the Sample Application could show how to achieve this like it does with the viewing of differences etc.

Answer - Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Gavin,

AI integration probably requires different key hooks based on what the capabilities are.  I'm not sure it's something we could add a base framework for since it's a very open-ended concept.  That being said, SyntaxEditor does expose all the event sinks you need to track key and typing input.  And intra-text adornments are ideal for rendering AI suggestions. 

In fact, for v25.1 we will be adding an option that allows intra-text adornments to appear at the end of the tagged range instead of at the start.  This was done specifically to support things like AI suggestions that may be placed after the last character on a line.


Actipro Software Support

Posted 17 days ago by Gert-Jan van der Kamp
Avatar

Do you guys have a code sample on how that would look? I'm looking to integrarte AI as well, the sample could call some mock API call, i'm looking for the part how to preview and accept the code suggestion. 

[Modified 17 days ago]

Posted 17 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

While we don't have an AI integration sample yet, we do have numerous other adornments samples that show how to implement intra-text and intra-line adornments.  The upcoming v25.1 release will show intra-text adornments at the end of a line (a new feature) in a couple samples too.

We will mark down the suggestion to add an AI integration kind of sample to clarify how to harness some of these SyntaxEditor feature areas for that use case.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.