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
Test: Provide a separate 'Insert snippet' command that allows the user to pick a snippet #9697
Wade Anderson (@waderyan), Daniel Imms (@Tyriar), that's odd I just tested this on my OSX and it works! Thought I'd mention that. Daniel Imms (@Tyriar), yes I have tested this on windows and it works as expected (thought I'd test on OSX as well, as that's my primary OS)
Johannes Rieken (@jrieken) maybe this was discussed when I was on vacation but is there a reason we cannot show the list of snippets in the intellisense widget (e.g. you invoke the command via keybinding and you get a list of suggestions filtered to all snippets)? I find it better to show the snippets closer to where I am typing.
Yeah, it's mostly to be aligned with other editors and to avoid ambiguity between snippets and the current line text wrt to filtering, selection etc. Last there technical debt that didn't allow it ;-) We figured ship it and wait for feedback ;-)
Activity
waderyan commentedon Jul 26, 2016
I'm not seeing a
Show Snippetscommand.On macOS.
DonJayamanne commentedon Jul 27, 2016
Wade Anderson (@waderyan), Daniel Imms (@Tyriar), that's odd I just tested this on my OSX and it works! Thought I'd mention that.
Daniel Imms (@Tyriar), yes I have tested this on windows and it works as expected (thought I'd test on OSX as well, as that's my primary OS)
Tyriar commentedon Jul 27, 2016
Don Jayamanne (@DonJayamanne) are you on the same commit as Wade's in the screenshot?
DonJayamanne commentedon Jul 27, 2016
Daniel Imms (@Tyriar), identital

egamma commentedon Jul 27, 2016
Works for me on both OS X and Windows.
egamma commentedon Jul 27, 2016
Suggest to make labels matching Snippets (
Show Snippets,Preferences: Snippets) more distinct, e.g.,:Expand Snippet,Preferences: Edit Snippetswaderyan commentedon Jul 27, 2016
Ok I see it now. Weird it didn't show yesterday.
bpasero commentedon Aug 5, 2016
Johannes Rieken (@jrieken) maybe this was discussed when I was on vacation but is there a reason we cannot show the list of snippets in the intellisense widget (e.g. you invoke the command via keybinding and you get a list of suggestions filtered to all snippets)? I find it better to show the snippets closer to where I am typing.
jrieken commentedon Aug 5, 2016
Yeah, it's mostly to be aligned with other editors and to avoid ambiguity between snippets and the current line text wrt to filtering, selection etc. Last there technical debt that didn't allow it ;-) We figured ship it and wait for feedback ;-)
bpasero commentedon Aug 6, 2016
Ok. because I think it would be cool if I could assign a keybinding like
{ "key": "ctrl+space", "command": "editor.action.showSnippets", "when": "editorTextFocus && suggestWidgetVisible" }And then essentially I could show snippets only by pressing Ctrl+Space twice (similar to Eclipse).