Using autocomplete changes the indentation level
I noticed some time in the previous betas that the indentation level of the added code seem to be fixed to the first level whenever using some autocompletes. So actions like implementing an interface or overriding a member of a class would be affected.
Could it be adjusted to respect the current indentation level and keep it?
implementing an interface before:
Could it be adjusted to respect the current indentation level and keep it?
implementing an interface before:
// Define other methods and classes hereafter:
class Foo : INamedObject
{
}
interface INamedObject
{
string Name { get; }
}
// Define other methods and classes hereOverriding a member before:
class Foo : INamedObject
{
public string Name => throw new NotImplementedException();
}
interface INamedObject
{
string Name { get; }
}
// Define other methods and classes hereafter:
class Bar : Foo
{
override
}
class Foo : INamedObject
{
public virtual string Name => throw new NotImplementedException();
}
// Define other methods and classes here
class Bar : Foo
{
public override string Name => base.Name;
}
class Foo : INamedObject
{
public virtual string Name => throw new NotImplementedException();
}