E
E
Ekaterina Mironova2016-08-10 21:34:24
JavaScript
Ekaterina Mironova, 2016-08-10 21:34:24

Why auto-completion breaks in Brackets, and what to do?

I noticed that after I start using the spread operator when declaring a variable ( spread ), hints in the code immediately stop showing.
For example, after this: When declaring a function, everything is fine: I reinstalled Brackets, removed all extensions, the problem remains. Maybe someone came across? :) Thanks!
let model = new Model(...args);
function createModel(Model, ...args) {};

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Ekaterina Mironova, 2016-08-24
@KatjaMironova

Temporary solution found!
See here: https://github.com/adobe/brackets/issues/12666

A
Aves, 2016-08-10
@Aves

Checked, my ...args doesn't break anything.
In case of a bug with the disappearance of the history of changes after saving, reloading without extensions (Shit-F5) helps, maybe it will help here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question