When using the SAPUI5 tools, code completion is enabled automatically, without the tools, you need to enable it.
The Eclipse JavaScript Development Tools (JSDT) provide an editor which parses scripts and offers a code completion functionality.
For JavaScript views, code completion is available.
If you are not working with a SAPUI5 application project, you can perform the following preparing steps to add the required SAPUI5 core libraries to the JavaScript include path.
Ensure that the JavaScript Facet is set and proceed as follows:
Your project now has the JavaScript facet. Now you can add the SAPUI5 core libraries. Proceed as follows:
You should now be able to see the following JavaScript resources in your project: