cancel
Showing results for 
Search instead for 
Did you mean: 

Autocomplete code not working in webide

Former Member
0 Kudos

Hello,

I'm working and following walkthrough tutorials of SAPUI5. i’ve enabled Code Completion from settings.

but i didn’t get any response in xml file. like below:

and in JS file i get something like:

can you please help me to sort out the issue.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Muhammad,

Please check SAPUI5 active libraries:
1. Right click on your project in workspace tree.
2. Click on Project Settings.
3. Select SAPUI5 inside project setings.
4. Under SAPUI5 Libraries the following libraries should be checked: sap.ui.core, sap.m.

In case the above libraries are already checked we will need an additional info in order to analyze the issue:
1. Open chrome browser and open developer tools by clicking F12.
2. Load WebIDE.
3. Open Your JavaScript or xml file.
4. Trigger code completion.
5. Open Console tab in developer tools -> right click on the logs - > Save as... -> save the log to some file.
6. Open network tab in developer tools -> right click on the logs - > Save as HAR with content -> save the log to some file.
7. Attach both created files to this thread.

Thanks,
Shahar

yuval_morad
Employee
Employee
0 Kudos

In JS AMD in the define section and also a parameter to be used in the code that matches it

Than you can get code assist for static or instance method

Former Member
0 Kudos

Sorry didn't understand. can you please share an example URL?