You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Something is severely different with intellisense and snippets #8758
There hasn't been any changes recently, but that the strategy:
To avoid that snippets are too prominent in the intellisense proposals:
Offer a snippet only if the name matches the current word or if the completion position is after a whitespace/new line.
We had a more restricting policy for a short time where we would offer snippets only after a whitespace/new line, but had to change that again after user complaints.
The sort order changes were made by Johannes Rieken (@jrieken).
IMO snippets must go out of code complete and we should have a separate key.
I agree but I know it's thin ice. Just add options to control snippet sorting. We have users that want snippets sorted to the top, we have users that want the opposite.
We already know there are people that want snippets on top of everything and other people that want them at the bottom. As I suggested in the related issue, I'm pretty sure the snippets lovers would we just fine if the snippets are shown on top only if the cursor is on a empty line and outside function parenthesis and object literal brackets.
Activity
alexdima commentedon Jul 5, 2016
1.2.1shows the same bad behaviouralexdima commentedon Jul 5, 2016
1.1.1also looks badalexdima commentedon Jul 5, 2016
Works better in
0.10.6joaomoreno commentedon Jul 6, 2016
Johannes Rieken (@jrieken) Martin Aeschlimann (@aeschli) We gotta get a grip on this. What has changed and why?
aeschli commentedon Jul 6, 2016
There hasn't been any changes recently, but that the strategy:
To avoid that snippets are too prominent in the intellisense proposals:
Offer a snippet only if the name matches the current word or if the completion position is after a whitespace/new line.
We had a more restricting policy for a short time where we would offer snippets only after a whitespace/new line, but had to change that again after user complaints.
The sort order changes were made by Johannes Rieken (@jrieken).
IMO snippets must go out of code complete and we should have a separate key.
joaomoreno commentedon Jul 7, 2016
All in for that. Do we have a third, Johannes Rieken (@jrieken) ?
jrieken commentedon Jul 7, 2016
I agree but I know it's thin ice. Just add options to control snippet sorting. We have users that want snippets sorted to the top, we have users that want the opposite.
empz commentedon Jul 9, 2016
Related issue: #6667
We already know there are people that want snippets on top of everything and other people that want them at the bottom. As I suggested in the related issue, I'm pretty sure the snippets lovers would we just fine if the snippets are shown on top only if the cursor is on a empty line and outside function parenthesis and object literal brackets.
aeschli commentedon Jul 14, 2016
duplicate of #5223
alexdima commentedon Jul 15, 2016
Martin Aeschlimann (@aeschli) I'm sorry I do not agree this is a duplicate of #5223 - [sql] add support for mysql
joaomoreno commentedon Jul 15, 2016
I believe he meant #9286