Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code extension: Add IntelliSense suggestions in debug console #299

Open
dougbu opened this issue May 10, 2016 · 8 comments
Open

VS Code extension: Add IntelliSense suggestions in debug console #299

dougbu opened this issue May 10, 2016 · 8 comments

Comments

@dougbu
Copy link
Member

dougbu commented May 10, 2016

Nothing currently assists users as they type out expressions in the VS Code debug console. Not sure if there's already a feature the C# extension could hook into. But whether or not VS Code needs a new feature as well, this would be a good improvement to the debugging story.

BTW the ability to expand objects in the debug console output window helps but isn't sufficient. For one thing, method calls aren't supported there.

@gregg-miskelly
Copy link
Contributor

@dougbu can you open this in https://github.com/Microsoft/vscode/issues?

@dougbu
Copy link
Member Author

dougbu commented May 10, 2016

@gregg-miskelly is work needed here as well as there i.e. should this issue remain open too? What's the VS Code term for IntelliSense?

@gregg-miskelly
Copy link
Contributor

I would guess that the IntelliSense interface for this new feature would have to be slightly different than the current interactions between VS Code and extensions since the expression is typed in a different physical document.

@dougbu
Copy link
Member Author

dougbu commented May 10, 2016

Filed microsoft/vscode#6263

@amine-aboufirass
Copy link

amine-aboufirass commented Sep 29, 2023

@gregg-miskelly @jasonmalinowski according to microsoft/vscode#6263 this should now be supported in vs code:

This is now supported on the vscode side. Once omnisharp-vscode picks up the api it should be fully working

Is anything else needed to get this to work in the C# extension? Also this problem is not limited to the debug console. The watch window also apparently doesn't provide access to intellisense.

@gregg-miskelly
Copy link
Contributor

Is anything else needed to get this to work in the C# extension?

Yes, there is a whole lot of work in the C# extension required to support this. This is not a trivial feature, as the way the feature works in VS Code is really designed for dynamic languages (ex: JavaScript). Statically typed languages need to build a bring from the debugger back to the language service for this feature to work.

@terryaney
Copy link

@gregg-miskelly So are you saying we shouldn't expect intellisense to work in Debug or Watch windows? Because mine aren't.

@gregg-miskelly
Copy link
Contributor

@terryaney This issue tracks adding support to the C# extension for supporting intellisense in any of the debugger evaluation windows. However, VS Code doesn't support intellisense in the watch window. So to have it in the watch window, the C# team needs to complete this feature, and the VS Code team needs to complete microsoft/vscode#48810.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants