Reputation: 32864
I am getting the following problem using Copilot in VisualStudio. (If you don't want to watch the video, it's inserting the Copilot code when I press TAB, but commenting out a bunch of the inserted code.)
What it shows:
public class DisallowedNameConfiguration : IEntityTypeConfiguration<DisallowedName>
{
/// <inheritdoc />
public void Configure(EntityTypeBuilder<DisallowedName> builder)
{
throw new NotImplementedException();
}
}
What it inserts:
public class DisallowedNameConfiguration : IEntityTypeConfiguration<DisallowedName>
{
/// <inheritdoc />
/// public void Configure(EntityTypeBuilder<DisallowedName> builder)
/// {
/// throw new NotImplementedException();
/// }
/// }
}
Upvotes: 3
Views: 999
Reputation: 7984
Specific to Visual Studio Code, yes.
I have observed the same thing using python: There is a suggestion by copilot but then it immediately gets "vetoed" by autocomplete.
I turned off quickSuggestions in the editor config.
Upvotes: 0