Posted 1 year 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 1 year ago]

Comments (3)

Answer - Posted 1 year 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 3 months ago, which was before the next post in this thread.
Posted 2 days ago by Gert-Jan van der Kamp
Avatar

Hi just checking in if there's any movement on this? Would be really great for us to run a typescript linter.  

Just had an idea to bridge the async nature of the two techs.. what if you cache the output of the TS linter when it finishes and run the editor off that cache? then it would take a split second for that to update, but in most cases that would be fast enough I guess? Bonus points for updating the content of any open dialogs with that fresh result. 

GJ

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

Hello,

Unfortunately we don't have any updates on this at this time.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.