Skip to content

Style-Consistent Code Autocomplete #75126

Open

Description

This issue has been moved from a ticket on Developer Community.


Hello there,
I would like to suggest a possible improvement for the Tab-Autocompletion feature.
Currently (tested in version 17.11.0 Preview 7.0 in C#), the code auto competition does not respect any changes that have been made in the Code-Format settings page or in a .editorconfig file.

For example, when having set dotnet_style_predefined_type_for_locals_parameters_members = false and or dotnet_style_predefined_type_for_member_access = false, which tell Visual Studio to prefer framework types over language types, the autocomplete still generates code like the following:

for (int i = 0; i < 10; i++)
{
}

Instead of, for example:

for (Int32 i = 0; i < 10; i++)
{
}

Such an implementation would be highly appreciated, as it would save time over having to correct the autocompleted code


Original Comments

Feedback Bot on 8/12/2024, 07:44 PM:

(private comment, text removed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Area-IDEuntriagedIssues and PRs which have not yet been triaged by a lead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions