Page 1 of 1

TypeScript in Servoy Editor?

PostPosted: Thu Aug 11, 2022 12:40 am
by john1598360627
I'm curious about something. I heard that Servoy Titanium has Typescript support. Is there a way of activating this in the Servoy Editor itself?


I found this in the wiki;
https://wiki.servoy.com/display/DOCS/How+to+use+TypeScript+for+Web+Package+projects

It is possible to use TypeScript when writing code for components and services inside Web Package projects


This seems to be ONLY for creating Web Package projects... but does this ALSO apply for activating TypeScript in the Servoy Editor for general purpose use? Is there a way of activating TypeScript for the normal Servoy Editor?

Re: TypeScript in Servoy Editor?

PostPosted: Thu Aug 11, 2022 9:28 am
by jcompagner
no this is only used for web packages because those are build against angular and that uses typescript.

you can't use typescript for servoy code.

Re: TypeScript in Servoy Editor?

PostPosted: Fri Aug 12, 2022 1:50 am
by john1598360627
jcompagner wrote:no this is only used for web packages because those are build against angular and that uses typescript.

you can't use typescript for servoy code.

Roger, thank you for clarifying!

Re: TypeScript in Servoy Editor?

PostPosted: Thu Oct 12, 2023 12:43 pm
by rafig
jcompagner wrote:no this is only used for web packages because those are build against angular and that uses typescript.

you can't use typescript for servoy code.


At ServoyCamp you said that Servoy 2023.09 had greater support for ECMA & some TypeScript in the code editors.

Is there a summary of what new code is supported (e.g. 'let', 'const' & '=>' ) or a good web site or similar that those of us the know the Servoy version of JavaScript can learn from ??

Thanks

Rafi

Re: TypeScript in Servoy Editor?

PostPosted: Thu Oct 12, 2023 4:02 pm
by mboegem
Also, the information on the typescript plugin seems outdated.
Although the GitHub page still exists, when trying to add the install link to the software update sites in Eclipse it doesn't recognise this as a valid link.