I have Javascript libraries downloaded in different folders, how do I set the path for them to be picked up by sublime. (and hopefully also show autocomplete for them)
I believe the right way to get the library into a js file is this:
var highcharts = require('highcharts');
Neither does it pick up the library nor does it do any autocomplete.
I've had problems with Emmet (same as the one mentioned here https://github.com/sergeche/emmet-sublime/issues/129 ) so I have the following plugins installed:
For the autocompletions I've already asked a question ( https://stackoverflow.com/questions/29079474/get-autocomplete-for-new-javascript-libraties-in-sublime ) but the problem I want to get solved here is getting the library recognized and thereby suggest autocomplete.
Thanks.
试试看All Autocomplete插件,它会在当前窗口的所有打开文件中找到匹配项。
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.