sublime text 3 装什么插件能提示自定义的函数


  • 比如我自己定义了个js的函数func(),需要装什么样的插件才能自动提示呢?
  • 还有一个问题,比如我想引入一个js文件,但是用bower安装的话,路径可能会很深,一个一个手动输入不仅慢还容易出错,有什么插件能方便的引入的吗?

Thanks for your answer!

sublime

糖醋无莭操 11 years, 10 months ago

第一个: sublimecodeintel
第二个:你在 插件中心 搜索 file 应该能搜到,我在公司电脑有安装,忘了名字了!

☆rhea☆ answered 11 years, 10 months ago

可以试试 ternjs

Tern is a stand-alone code-analysis engine for JavaScript. It is intended to be used with a code editor plugin to enhance the editor's support for intelligent JavaScript editing. Features provided are:

  1. Autocompletion on variables and properties
  2. Function argument hints
  3. Querying the type of an expression
  4. Finding the definition of something
  5. Automatic refactoring
网路乞讨专家 answered 11 years, 10 months ago

Your Answer