Visual Studio IntelliCode saves you time by putting what you’re most likely to use at the top of your completion list. IntelliCode recommendations are based on thousands of open source projects on GitHub, each with over 100 stars. When combined with the context of your code, the completion list is tailored to promote common practices. As a result, instead of having to search and scroll through sorted lists, you get suggestions on the most likely ones for your coding context as you type.
Now we’re making selecting the right arguments easier too!
What does it do?
IntelliCode now makes recommendations for arguments in your C# code. Just install the latest release of the IntelliCode extension for Visual Studio and start editing C# code. It’s a simple as that!
When you enter an argument, you’ll notice the familiar starred IntelliCode recommendations appear when you’re typing. If you want to see a suggested argument without even typing a single character, you can also invoke IntelliSense directly with Ctrl+Space.
Your feedback matters
We hope you enjoy this new feature – if you have more suggestions and feedback about it or other parts of IntelliCode, we’d love to hear from you. Get in touch and let us know more.
Ctrl + Space is an input method toggle shortcut key, which can cause its work to fail.
Ctrl + Space是输入法切换快捷键,这会造成它的工作失效。
Hi Tim.
Thanks for your comment - can you give a few more details? It may be easier to report the problem via report a problem if it's in Visual Studio, or our Github issues list if it's in Visual Studio Code - see https://docs.microsoft.com/en-us/visualstudio/intellicode/faq#q-where-should-i-raise-bugs-issues-or-feature-requests
Thanks for trying IntelliCode,
Mark
Hi again Tim
Following up further, if I've understood your comment correctly, you are saying that Ctrl+Space is already used to toggle the Chinese Input Method Editor on and off, which causes a clash with the Visual Studio shortcut.
If that is indeed the problem you are facing, you should be able to work around it by changing the shortcut for the “Edit.CompleteWord” command in Visual Studio from Ctrl+Space to something else that works well...
It would be greate if Ctrl+Space would also invoke a parameters info popup.
This comment has been deleted.
Thanks for the feedback Науменко. I will pass it on to the right folks as this is a general feature of IntelliSense.
If you're editing along a line of code and your caret enters the braces because you just typed left brace, the parameter quick info popup should already be there when you hit ctrl+space, and remain when you've pressed Ctrl+Space. However if you place the caret into the braces from somewhere else, and hit Ctrl+Space,...
…when you’ve pressed Ctrl+Space. However if you place the caret into the braces from somewhere else, and hit Ctrl+Space, right now it doesn’t show the parameter quick info
Yes, this is exactly what I was talking about. Thank you for forwarding it to the right folks.
No problem.
If you’d like to be able to track the suggestion, you can also raise it on the feedback https://developercommunity.visualstudio.com
Thanks
Mark
I guess the focus was on C#, this makes me feel left out. It’s in my opinion that let the update also be made available to VB.NET. Folks like are practicing Vb.net whilst learning C#. Don’t leave us behind.
+1
Hi Brilliant
Argument Completion IntelliCode is a preview experimental feature at this point. Once we’ve had chance to take feedback and ensure it’s meeting expectations, we’ll look at potential to broaden it to other languages beyond C#.
Thanks
Mark
why not support autocomplete function “()”?
Hi P Kevin
Thanks for the feedback.
I'd like to make sure I'm clear on what you're asking: are you suggesting that we should trigger autocompletion when you type open brace, so you don't need to press Ctrl+Space to bring up the argument completion list? That's something we could potentially consider as an optional behavior. Or is it something else?
I'd be happy to chat in person - drop me an email mwthomas at microsoft...
Yes, please allow us to enable auto completion on brace open! Argument completion works really good for what I see, and I'd like it to come up as soon as a method (with parameters) is called.
C++ intellisense has lots of advanced options, which allow specifying this (among a lot of other things). But in C# there is only a poor amount of options for IntelliSense. Now that we have IntelliCode, it is even more...
I have noticed that suggestions already come up at brace open, if the first parameter is a enum. But now with IntelliCode, this should be enhanced to always come up (at least optionally).One more suggestion I have: For boolean, it would be great if "true" and "false" are always suggested. They are heavily used but currently not recommened or preferred in any way. We have a lot of classes with "tracer" field. Now if I...
Thanks for your feedback Lukas, it is much appreciated. I’ll take this up with the team.
Mark
Is VB supported? This would be great for C# devs like me that are working on a VB app that can’t be converted per client demands.
Hi Sam.
Thanks for your feedback. At present, IntelliCode does not support VB. We continue to look at which languages we’ll add in future, and you can register your support for VB on our GitHub Issues at https://github.com/MicrosoftDocs/intellicode/issues/34
Regards
Mark