Reputation: 6094
For example, when i type i
suggestions come with if
statement. And I press tabs
for selecting if
snippet. i get this.
if(condition) {
// code...
}
But inside this snippet I no longer get any suggestions. I have to type everything. Why is this happening? Please help.
Upvotes: 1
Views: 209
Reputation: 16085
Autocompletion inside snippets is disabled by default. You can enable it by changing the value of the auto_complete_with_fields
preference to true
:
// Controls if auto complete is shown when snippet fields are active.
// Only relevant if auto_complete_commit_on_tab is true.
"auto_complete_with_fields": true,
Upvotes: 2