I have a openui project setup in visual studio code 1.2/1.3 and all the required libraries (openui runtime files) are inside /resources directory and in .js format. I am not getting any intellisense from these libraries. I have setup my jsconfig.json as follows. Can anyone help me on how to get the intellisense for the same.
Jsconfig.json:
{
"compilerOptions": {
"target": "ES6"
},
"files": [
"/resources/sap/m/*",
"resources/sap/ui/*"
]
}
In my example it worked that I only added
"@types/openui5": "^1.40.1"
as a dev Dependency to my package.json. VSCode auto detects it when it is installed via npm or yarn and provides the auto completion. I'm using VSCode 1.17 btw. Example:
VSCode UI5 auto completion example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With