The CapitalizedCamelCase and CONST_CASE formats could be supported along camelCase, snake_case and the kebab-case formats. All the formats used should be configurable via the extension's settings.
Acceptance Criteria:
For CapitalizedCamelCase, the easy approach is to use _.upperFirst(_.camelCase(value)).
The
CapitalizedCamelCaseandCONST_CASEformats could be supported alongcamelCase,snake_caseand thekebab-caseformats. All the formats used should be configurable via the extension's settings.Acceptance Criteria:
package.json["contributes"]["configuration"]["properties"]["togglecase.cases"]array with["kebabCase", "camelCase", "snakeCase"]defaults; those should all be camelCased for consistent naming in extension's functions namespacelanguageId, same astogglecase.pattern"email"or"id"(it might upcase them by default)For CapitalizedCamelCase, the easy approach is to use
_.upperFirst(_.camelCase(value)).