vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Support snippets, intellisense etc in debug console

Open stevencl opened this issue 10 years ago • 4 comments

We should consider supporting snippets, intellisense and other rich design time experiences in the debug console so that we can provide a rich commanding experience in the console. For example, extension providers could take advantage of this so that specific debug commands can easily be exposed and discovered by users as shown in the screenshot below: debugconsolesnippets

stevencl avatar Dec 09 '15 10:12 stevencl

I would use our regular intelli-sense box and not introduce a new concept. As for the particular commands each debug adapter would have to contribute the,

isidorn avatar Dec 09 '15 14:12 isidorn

I agree, this isn't a new concept. This is just reusing the same UI for intellisense, snippets etct inside the debug console. So I press Ctrl-Space and I can see a list of snippets (which as you say would be provided by the debug adapter). I start typing and I get a list of commands that match the characters I type.

It's using the great design time tools we already have to improve the experience inside the repl.

stevencl avatar Dec 09 '15 14:12 stevencl

Would love to see IntelliSense appear in the debug console! I know that PowerShell users would find it really helpful.

daviwil avatar Apr 13 '16 03:04 daviwil

This is now supported. Each debug adapter has to pick up the suggestion API for this to work in those languages though.

isidorn avatar Sep 06 '16 08:09 isidorn