Sublime Forum

Sublime and tern

#1

Hello,

I am trying to add browser objects for sublime so I can auto complete code.

I have tried putting the following in the project file:

"ternjs": {
    "exclude": ["wordpress/**", "node_modules/**"],
    "libs": ["browser", "jquery"],
    "plugins": {
        "requirejs": {
            "baseURL": "./js"
        }
    }
}

But this doesnt work. If I type document.getInn… I should get getInnerHTML - but I don’t.

Any suggestions?

Thanks

AG

0 Likes

#2

I am trying to use it with tern.

0 Likes