Skip to content

Allow underscore in lower- and UpperCamelCase namesΒ #60054

@TB-StarcMed

Description

@TB-StarcMed

I have been using Dart for some weeks now (within Flutter in Visual Studio Code) and use often underscores in lower- and UpperCamelCase names in Dart to separate abbreviations from the part of the name that follows it (e. g. "ID_Converter" for a class name) and to separate the parts in these names that are parts of a subjective hierarchy (e. g. "onChanged_ServerIP" for a (event handler) function name). Visual Studio Code remarks that these identifiers are not following the respective recommended code style of Dart. I would like that the code style for Dart is loosened in the way that underscores are allowed to be used in lower- and UpperCamelCase names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packagetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions