Visual Studio Settings

So, I installed VS in a new computer, but it now lacks the feature from the pic above: it shows the Type of the variable IEnumerable<EntityEntry> and EntityEntry, without needing to hover at it. I remember activating it, but I forgot exactly where in the Visual Studio Options.
No description
7 Replies
leowest
leowest4mo ago
$typehints
MODiX
MODiX4mo ago
Visual Studio 2019 and above can now give you inline hints of the type in lambda, var, etc, see the animated GIF on how to enable it: https://cdn.discordapp.com/attachments/169726586931773440/869498806343962694/2021-07-27_05-35-23.gif See the below image for an example of what it looks like the white line was made by me to illustrate what the above does: https://media.discordapp.net/attachments/569261465463160900/894398422365372416/unknown.png NOTE: You can also use it by pressing ALT + F1! You might need to go on the settings and disable/reenable it for it to work!
leowest
leowest4mo ago
oh uh it doesnt show the settings part, its on Menu > Tools > Options > Text Editor > C# > Advanced
leowest
leowest4mo ago
No description
ianky | 安吉
ianky | 安吉OP4mo ago
heya, thanks. I wonder if there's more useful stuff I don't know inside Visual Studio hahah
leowest
leowest4mo ago
probably, u might want look into the shortcuts it has plenty of nice shortcuts like CTRL+K+D to auto format document
ianky | 安吉
ianky | 安吉OP4mo ago
a combo I like to use is "Ctrl + A" + "Ctrl + M M" whenever I open a Xunit project, I can either read all the Tests' names or look into the DGG to know what they are doing and just read it's like a Zen Mode, you only care about the functions and not what is happening behind them
Want results from more Discord servers?
Add your server