Posted 10 months ago by Gert-Jan van der Kamp
Version: 23.1.1
Avatar

Hi is typescript support on the roadmap at this moment?

Alternatively, is there any guidance on how to integrate the Language Server Protocol with the Syntax Editor control? 

[Modified 10 months ago]

Comments (1)

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

TypeScript is not on the near-term roadmap, but I have logged your interest in the language. Since Language Server Protocol (LSP) can enable many new languages, including TypeScript, we want to research it more closely before expanding our pre-built language offerings.

We are still in the early stages of researching LSP and any changes necessary within SyntaxEditor to properly implement it, so we don't have much to share currently. We are currently focusing on other priorities, so we will not have any additional updates on LSP in the near future. 

From our initial research, the biggest challenge might be the async nature of LSP.  SyntaxEditor raises events when IntelliPrompt might be necessary, and most of those events are raised in response to typing.  Since typing happens in the UI thread, you typically cannot block the thread while waiting on a remote server to respond or else typing performance will suffer. This means you would have to asynchronously await a response from the server and, when received, verify if the editor is still in the same state it was when the initial request was sent.

Unfortunately, that's all the guidance we can give at this time, and we won't know more until we dig deeper into LSP later.


Actipro Software Support

The latest build of this product (v24.1.0) was released 8 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.