apazureck / openui5vscodeTypescriptTools

Tools for openui5 to enhance productivity using VS Code
MIT License
22 stars 5 forks source link

Is it possible to use that plugin without typescript #45

Open haagw opened 6 years ago

haagw commented 6 years ago

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.

apazureck commented 6 years ago

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.