Skip to Content

Hi All,

I didn’t notice at first, but a few weeks ago, when I opened the Outline view when editing the view and controller files (created by the SAPUI5 plugin using the MVC Pattern), I found out that it was empty.

SCNBlog6_01.JPG

As the code grows and get more complex it became a bit of a pain jumping around to each of the functions, so I decided to look for a solution for this problem.

I found out a reference of a very good blog in the stackoverflow forum with the solution.

http://www.kajabity.com/2012/02/how-i-introduced-jsdoc-into-a-javascript-project-and-found-my-eclipse-outline/


To be brief, to get the outline view working it is necessary to use a JSDOC comment with the following tag:

     /**
     * @memberOf
parentNamepath
     */

SCNBlog6_02.JPG

I think it would be nice to have the SAPUI5 plugin creating the initial code with these comments. What you think?

Best regards,

Christian

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Bertram Ganz

    Hi Christian, a good tip! I forwarded your proposal to the UI5 tool dev colleagues. They’ll have a look at it. Regards, Bertram

    (0) 
    1. Silke Arians

      Hi Jan,

      yes, the same can be done for the controller (this will also be part of the next UI5 Eclipse Tools patch).

      Best regards

      Silke

      (0) 

Leave a Reply