Quantcast
Channel: SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 789

SAPUI5 MVC Pattern and Eclipse Outline View

$
0
0

 

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


Viewing all articles
Browse latest Browse all 789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>