Why can't I select HTML intellisense options in Visual Studio 2019 (in an ASP.NET Core Project, looking at a cshtml file)?

417 Views Asked by At

When I start typing in a cshtml file Visual Studio 2019, if I start with a < then type, I see intellisense options but cannot select them as normal (either by TAB then space or by clicking on them) - why is this? See screenshot below.

Intellisense is appearing but I cannot select it

enter image description here

My project is an ASP.NET Core one.

Thanks

1

There are 1 best solutions below

3
Marcus On

Make sure you do not have CTRL+M Enabled as this causes tab not to work! make sure to check this and this may fix your isse.

if this is not the case, then make sure your key is correctly bound. you can do this by: Going to Tools > Options > Environment > Keyboard

-> Find Edit.InvokeSnippetFromShortcut -> remove TAB from this and use another shortcut key