简体   繁体   中英

Code completion for Javascript libraries in Brackets

Using Brackets, how can I have auto complete for functions defined in helpers.js file from someController.js file?

Visual Studio does this through reference paths like this:

/// <reference path="../libs/helpers.js" />

Is there any equivalent feature in Brackets?

Brackets does not support this currently, not even through extensions. Unfortunately, Brackets is really just a text editor, not an IDE.

For anyone else looking for this, I'm using version 1.7 of Brackets and it has built in support for auto-completion using Tern . I did have a problem where I installed an extension named ternific and it actually ended up disabling support for auto-completion. However, out of the box Brackets supports auto-completion for your own code and a number of libraries.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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