Even if tern doesn't support completion for object litteral (see [issue 311](https://github.com/marijnh/tern/issues/311)), I create this issue because tern-closure needs that too. For instance you can write this JS : ``` javascript var newHeader = goog.dom.createDom('h1', {'style': 'background-color:#EEE'}, 'Hello world!'); ``` It should be very cool if we can have completion like this : ``` javascript var newHeader = goog.dom.createDom('h1', {'s // here Ctrl+Space shows 'style' ``` and : ``` javascript var newHeader = goog.dom.createDom('h1', {'style': 'back // here Ctrl+Space shows background-color ```
Even if tern doesn't support completion for object litteral (see issue 311), I create this issue because tern-closure needs that too.
For instance you can write this JS :
It should be very cool if we can have completion like this :
and :