简体   繁体   English

如何在Brackets中为项目配置自动完成?

[英]How can I configure autocomplete for project in Brackets?

I'm using Brackets for development applications on the Node.JS. 我在Node.JS上使用Brackets开发应用程序。 As I know Brackets relies on the TernJS library. 据我所知,Brackets依赖于TernJS库。 When I add the root of the project file named .tern-project with the following lines, I do not see any change in the autocomplete. 当我使用以下行添加名为.tern-project的项目文件的根时,我看不到自动完成中的任何更改。

{
  "libs": [],
  "plugins": {
    "node": {}
  }
}

After that I still see hints for browser, JQuery hints, AngularJS hints, etc. How can I configure TernJS for project(directory) in Brackets? 之后我仍然看到浏览器提示,JQuery提示,AngularJS提示等。如何在Brackets中为项目(目录)配置TernJS?

我发现这个ternific插件可以很好地适用于每个项目的tern配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM