Is there an eclipse plugin that creates an outline view for the “javascript revealing module pattern”?

前端 未结 1 882
醉梦人生
醉梦人生 2020-12-31 09:42

I like eclipse, and with some tweaking it can be used for javascript programming. There\'s syntax completion, linting, formatting, and there\'s \"outlining\", albeit only fo

相关标签:
1条回答
  • 2020-12-31 10:12

    Answering my own question, again:

    The javascript functions inside the IIFE must be annotated in the JSDoc style, then they will appear in the outline view.

    The whole process is described here, with screenshots:

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

    0 讨论(0)
提交回复
热议问题