Press < between <Nullable>enable</Nullable> and </PropertyGroup>
Fail (no intellisense):
Press < between <Project Sdk="Microsoft.NET.Sdk"> and <PropertyGroup>
Press < between <ImplicitUsings>enable</ImplicitUsings> and anything surrounding it.
Other findings:
Wipe k>net8.0</TargetFramework>, press CTRL+SPACE, and receive No suggestions.
Add <TargetFramewor (where cursor sits after r) after Nullable tag. Press CTRL+SPACE, and get the ENTIRE list of options. Move the cursor left, and the list is filtered. (this point and the one above both seem to be related to the position of the cursor)
Add k> after <TargetFramewor, and the autocomplete doesn't fill out the rest as it would have with a tag selected from the list of options. One would hope after the >, the remainder would be filled out. Look-behind for the entire opening tag, then look-ahead for a closing tag that would be associated with it. If it does not exist, fill out that remainder.
Take the simple skeleton template:
Success (intellisense):
<
between</PropertyGroup>
and</Project>
<
between<Nullable>enable</Nullable>
and</PropertyGroup>
Fail (no intellisense):
<
between<Project Sdk="Microsoft.NET.Sdk">
and<PropertyGroup>
<
between<ImplicitUsings>enable</ImplicitUsings>
and anything surrounding it.Other findings:
k>net8.0</TargetFramework>
, press CTRL+SPACE, and receiveNo suggestions
.<TargetFramewor
(where cursor sits afterr
) afterNullable
tag. Press CTRL+SPACE, and get the ENTIRE list of options. Move the cursor left, and the list is filtered. (this point and the one above both seem to be related to the position of the cursor)k>
after<TargetFramewor
, and the autocomplete doesn't fill out the rest as it would have with a tag selected from the list of options. One would hope after the>
, the remainder would be filled out. Look-behind for the entire opening tag, then look-ahead for a closing tag that would be associated with it. If it does not exist, fill out that remainder.