marhali / easy-i18n

This is a IntelliJ IDE based plugin for internationalization. Supports the most common translation file types.
MIT License
78 stars 24 forks source link

Feature/Automated Key Naming Convention Suggestion for Localize-It Action #399

Closed JPilson closed 1 month ago

JPilson commented 2 months ago

Pull Request Description

This pull request introduces an enhancement to the Localize-It Action, addressing the manual adjustment requirement for key naming conventions during string extraction. The implemented feature automates key naming convention suggestions, significantly improving user experience and code consistency.

Future Considerations:

Next Steps:

Before

image

After

image

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 65.90909% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 31.41%. Comparing base (3dd4117) to head (4583404). Report is 23 commits behind head on main.

Files Patch % Lines
...li/easyi18n/settings/ProjectSettingsComponent.java 0.00% 6 Missing :warning:
...a/de/marhali/easyi18n/action/LocalizeItAction.java 0.00% 2 Missing :warning:
...syi18n/settings/ProjectSettingsComponentState.java 0.00% 2 Missing :warning:
...arhali/easyi18n/settings/ProjectSettingsState.java 66.66% 1 Missing and 1 partial :warning:
...li/easyi18n/settings/presets/NamingConvention.java 96.00% 1 Missing :warning:
.../easyi18n/settings/presets/ReactI18NextPreset.java 0.00% 1 Missing :warning:
...rhali/easyi18n/settings/presets/VueI18nPreset.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #399 +/- ## ========================================== + Coverage 31.32% 31.41% +0.09% ========================================== Files 104 108 +4 Lines 1874 1897 +23 Branches 317 323 +6 ========================================== + Hits 587 596 +9 - Misses 1215 1235 +20 + Partials 72 66 -6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

JPilson commented 2 months ago

@marhali check this out

marhali commented 1 month ago

Thanks for your contribution 👍