Skip to content

Why _ isn't removed when sanitizing identifiers #904

@qeude

Description

@qeude

👋 Hi!

I was just wondering why _ was explicitly removed from disallowedCharacters.

I'm asking because it creates weird variables and methods names such as this: key home_page.title would become R.string.localizable.home_pageTitle while it would be more elegant and Swifty to have R.string.localizable.homePageTitle.

It could be great to at least have a configuration (like proposed here) to allow that if we don't want that behavior as a default one.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions