TypeScript in Servoy Editor?

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

TypeScript in Servoy Editor?

Postby john1598360627 » Thu Aug 11, 2022 12:40 am

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?
john1598360627
 
Posts: 169
Joined: Tue Aug 25, 2020 3:03 pm

Re: TypeScript in Servoy Editor?

Postby jcompagner » Thu Aug 11, 2022 9:28 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: TypeScript in Servoy Editor?

Postby john1598360627 » Fri Aug 12, 2022 1:50 am

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!
john1598360627
 
Posts: 169
Joined: Tue Aug 25, 2020 3:03 pm

Re: TypeScript in Servoy Editor?

Postby rafig » Thu Oct 12, 2023 12:43 pm

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
Servoy Certified Developer
Image
rafig
 
Posts: 704
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: TypeScript in Servoy Editor?

Postby mboegem » Thu Oct 12, 2023 4:02 pm

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.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to How To

Who is online

Users browsing this forum: No registered users and 9 guests