openui5vscodeTypescriptTools icon indicating copy to clipboard operation
openui5vscodeTypescriptTools copied to clipboard

Is it possible to use that plugin without typescript

Open haagw opened this issue 8 years ago • 1 comments
trafficstars

I know the advantages of typescript but we use javascript as prepared script language. So with the "@types/openui5": "^1.40.2", we can work with intellisense this is great but it works not with the new sap controller structure from sap. Do you see a chance to extend your plugin also using javascript. The XML-Server shows missing links to the controller, because i mean it search the controller in the ts file.

haagw avatar Oct 23 '17 13:10 haagw

Hi @haagw,

I cannot provide javascript support, sorry. I am not dealing with js and the "normal" sapui syntax at all (except when I have to) and to provide better coding experience I am planning to use the typescript compiler api even more in the future. It goes even so far that the .define and .extend functions will be substituted in favor to classes and import "xy".

I am currently working on another project which consumes my time and cannot work on this extension until January 18, so I am not planning to do updates anytime soon.

But feel free and invited to fork it and extend the providers to support javascript better. Would be glad to have so who wants to contribute on better javascript support. I'll be glad to help with knowledge and experience and will PR it back, if you want to take care of that.

Or you could have a look what typescript can offer you. There is a topic on the openUI5 github site where some great minds have put together some neat stuff using typescript together with UI5.

apazureck avatar Oct 23 '17 13:10 apazureck