How can I view the outline in eclipse when using the revealing module pattern?

后端 未结 4 449
猫巷女王i
猫巷女王i 2020-12-28 17:56

I\'m currently refactoring some Javascript code we have and amongst other things I\'ve changed it to make use of the revealing module pattern. The code is looking much tidie

4条回答
  •  情歌与酒
    2020-12-28 18:08

    Add:

    /**
     * @memberOf myNamespace
     */
    

    before each function definition to restore the hierarchy.

    You will find more interesting tags to document your code here:
    How I Introduced JsDoc into a JavaScript project – and found my Eclipse Outline

提交回复
热议问题