8 Commits

Author SHA1 Message Date
JPilson
340ab134e5 feat: Move NamingConvention to presets package
Moved `NamingConvention` from the settings package to a new settings.presets package. This involved modifying various import statements across the application and updating methods that utilised this enum. Increased the `KeyCaseFormater` minimum and preferred width to 200 for better UI rendering.
2024-04-21 10:15:32 +02:00
JPilson
027016921f feat: update naming convention functionality
Updated naming convention features by simplifying key case formatter construction and expanding the naming convention enum. Also performed a refactor to layout and formatting across various files for improved readability. Added new test cases to validate the update to naming convention.
2024-04-20 18:44:18 +02:00
JPilson
0c1710029f feat: Add naming convention setting for presets
Implemented a new setting, `getCaseFormat`, in the `ProjectSettings` interface, returning the naming convention used. Also extended corresponding implementations (`DefaultPreset`, `VueI18nPreset`, `ReactI18NextPreset`, `SettingsTestPreset`) to return `NamingConvention.CAMEL_CASE`. A new enum `NamingConvention` was created for this, with options `SNAKE_CASE` and `CAMEL_CASE`.
2024-04-16 20:33:57 +02:00
JPilson
a709db810e Add i18n flavor template setting
A new setting, `flavorTemplate` is introduced to specify how strings are replaced with i18n representation. This includes code modifications for handling this new feature and also updates in the messages.properties file for the associated UI text. The feature is especially useful for customizing how localization strings are generated in different project setups.
2023-12-16 17:50:29 +01:00
marhali
8dc66e1250 add new option to consider sub-dirs for folder parser strategy 2022-05-28 23:08:57 +02:00
marhali
433ce8e844 add option to force key folding 2022-04-21 22:17:16 +02:00
marhali
06f03ea1e1 move FolderStrategyType to right package 2022-04-11 19:27:36 +02:00
marhali
d7f34a35db rework plugin configuration 2022-04-09 12:39:40 +02:00