Skip to Content
Author's profile photo Daniel Wroblewski

Code Assist in SAP Web IDE (video)

To help you understand code completion in SAP Web IDE, we’ve put together a series of videos, each on a different feature — like code completion in JavaScript files or XML files, or how to get autohints, an intelligent suggestion that automatically appears without having to press Control-Space.

There are videos on code completion for embedded types, on code snippets that you can add to your code with all the properties and default values already filled in, and code completion with suggestions based on objects you’ve defined in other JavaScript files.

Here’s a single 4-minute video that goes through all the features.

There are also shorter individual videos on each of the features outlined in the main video. Its the same material, but for those who are interested only in one or two specific features.

Check out our SAP Web IDE channel on YouTube. We also have a playlist just for learning how to work in the editors, including using the code completion.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Christopher Solomon
      Christopher Solomon

      Thanks for the very useful video.

      One question....for code completion or suggestions....such as the Javascript ones you show, I do not get the same suggestions or even variety (ie. method signature AND option for snippet/pattern). Any idea why? Here is what is going on....


      Author's profile photo Yuval Morad
      Yuval Morad


      you probably use AMD pattern

      There you should get any control as in you define statement.

      Global in AMD should not be used thus the snippet is not proposed.

      if you take and empty js file (non AMD..)with the statement

      var pop = new sap.m.Popo

      you should get the same proposal



      Author's profile photo Christopher Solomon
      Christopher Solomon

      Yep....good call. Didn't even think about that. 😛

      Author's profile photo Muhammad Raheel
      Muhammad Raheel


      Thanks for the video. 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 which is not as exptected:

      can you please help me to sort out the issue.




      Author's profile photo Daniel Wroblewski
      Daniel Wroblewski
      Blog Post Author

      Thanks Muhammad for your question.

      Michal Keidar Can you help out here?

      Author's profile photo Yuval Morad
      Yuval Morad

      You always get code assist of Javascript object.

      In Javascript AMD pattern you should use the parameters defined and not static types which are not declared in AMD JS file.

      You will get code assist proposals for static properties of the parameter, and if you create instance of the parameter you will get the instance methods