- 比如我自己定义了个js的函数func(),需要装什么样的插件才能自动提示呢?
- 还有一个问题,比如我想引入一个js文件,但是用bower安装的话,路径可能会很深,一个一个手动输入不仅慢还容易出错,有什么插件能方便的引入的吗?
Thanks for your answer!
第一个:sublimecodeintel
;
第二个:你在插件中心
搜索file
应该能搜到,我在公司电脑有安装,忘了名字了!
可以试试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:
- Autocompletion on variables and properties
- Function argument hints
- Querying the type of an expression
- Finding the definition of something
- Automatic refactoring