What is the difference between using tab vs return for choosing an autocomplete?
(And when should I prefer one over the other?)
In PHP, if I press tab, sometimes phpstorm doesn't just auto complete - it overrwites what is already there. If I press enter, it just inserts the autocomplete. In HTML, using tab to autocomplete can cause the line below the cursor's current line to be moved to the same line I am on, while using return does not cause this behavior.
请先登录再写评论。
Hi there,
Tab is useful when editing existing code (e.g. changing function name to another or changing file name (e.g. image/css/js)
Not sure at all -- need to see some short screencast with such effect in place.
But quite likely that you are using a Live Template (or Emmet) which triggers code reformat.
Thank you again, Andriy. I will try to get a screencast of this happening and return.