221 Commits

Author SHA1 Message Date
JPilson
c56812c888 Implement selectable text replacement with i18n keys
A new feature is introduced to replace the selected text in editor with Internationalization (i18n) keys, improving the coding workflow for developers handling string localization. The i18n keys are generated based on the customized settings or default flavor template. Further, a function to retrieve the key field from the `TranslationDialog` is added and a new utility class `DocumentUtil` for checking document file types has been added.
2023-12-16 17:51:29 +01: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
JPilson
352dc7c47c feat(Add Selection): add LocalizeItAction for localizing selected text
This commit introduces a new action, `LocalizeItAction`, into the easyi18n toolset, which allows users to automatically apply localization to a selected string in the text editor. The action is now accessible from the editor's context menu. This provides a more efficient way to localize selected strings compared to manually adding them.
2023-12-09 14:43:40 +01:00
marhali
d7d2880c44 replace yaml mapping with own implementation to fix pluginVerifierTask 2023-02-19 15:23:48 +01:00
marhali
d329db56df fix AWT events are not allowed inside write action 2023-02-18 17:40:18 +01:00
marhali
d9781566c0 replace deprecated API methods 2022-12-17 15:46:24 +01:00
marhali
414d413434 restructure form actions
Resolves #199
2022-12-07 21:41:26 +01:00
SIMULATAN
b7993ce4f8 Add support for path macros
fixes #189
2022-11-03 11:20:41 +01:00
marhali
d85db1fd48 only perform save all inside reload 2022-10-28 20:48:31 +02:00
marhali
55a0a3366b default to indent 2 2022-10-28 20:17:34 +02:00
marhali
c647489981 support regex file patterns
Resolves #191
2022-10-28 17:30:02 +02:00
marhali
acb284ff88 fix properties parsing
Resolves #190
2022-10-28 15:44:20 +02:00
marhali
eeba513c92 base for e2e tests 2022-10-28 15:38:31 +02:00
marhali
150f40d395 improve exception handling on syntax errors
Resolves #167
Resolves #177
2022-10-14 17:36:01 +02:00
marhali
38f5bcb900 fix loosing settings on IDE restart
Resolves #186
Resolves #164
2022-10-14 16:02:20 +02:00
marhali
6858590235 rollback to deprecated function call 2022-09-03 17:18:53 +02:00
marhali
7fd6526405 remove warning about missing configuration during project init
Resolves #148
2022-09-03 16:40:05 +02:00
marhali
c448cfa106 remove deprecated function call 2022-09-03 15:42:34 +02:00
marhali
7126d13b6f change color to increase contrast in light themes
Resolves #157
2022-08-24 21:15:46 +02:00
marhali
61d5d63bf9 increase visibility for the docs provider 2022-08-24 20:48:55 +02:00
marhali
5c95bb01b7 switch back to deprecated ContentFactory 2022-08-09 15:20:20 +02:00
marhali
03589a3138 remove deprecated function call 2022-07-30 13:36:55 +02:00
marhali
87b6ee3170 move into try with resource catch 2022-07-01 15:15:32 +02:00
marhali
045bb6ac94 optimize line breaks and value parsing 2022-07-01 12:33:21 +02:00
marhali
02d7d7d051 add fallback if cached psi element is null
Fixes #139
2022-06-30 22:22:01 +02:00
marhali
a0d76f6ae7 only allow \n line separators
Fixes #140
2022-06-30 22:21:02 +02:00
marhali
9c77b9edc1 use different icons to distinguish between the ui filters 2022-06-01 11:55:00 +02:00
marhali
26af16d0c8 reformat translation files based on IDE preferences
Resolves #123
Resolves #128
2022-05-31 21:36:21 +02:00
marhali
090b7a0216 ensure that parent directories will be created 2022-05-31 21:16:05 +02:00
marhali
c03d97f3e8 consider subdirectories for modularized translation files
Resolves #124
2022-05-29 15:39:17 +02:00
marhali
8dc66e1250 add new option to consider sub-dirs for folder parser strategy 2022-05-28 23:08:57 +02:00
marhali
d0ff774bee skip unprocessable updates instead of throwing exceptions 2022-05-28 22:49:38 +02:00
marhali
bf2a8b8db7 continue filtering on first match 2022-05-28 22:49:38 +02:00
marhali
21e71f53d5 indicate translations with duplicated values yellow 2022-05-28 22:49:38 +02:00
marhali
d4ef478d48 fix duplicate filter 2022-05-28 22:49:38 +02:00
marhali
e8236b272b re-engineer translation filters
Resolves #77
Resolves #101
Resolves #122
Resolves #127
2022-05-28 22:49:38 +02:00
marhali
8ce09a6a5b add option to check if sorting is used 2022-05-28 14:20:46 +02:00
marhali
5f5abb98b8 refactor listener and add new duplicates filter 2022-05-27 11:29:29 +02:00
marhali
a33d10d7bd fix NPE on nulled folding regions
Resolves #113
2022-04-22 16:04:56 +02:00
marhali
1d1d3adaea qodana: synchronize toString() 2022-04-22 15:32:01 +02:00
marhali
0385125747 fix possible npe on add-action
Resolves #107
2022-04-22 15:23:28 +02:00
marhali
ba405393ac fix request-url limit for error reports 2022-04-22 11:27:22 +02:00
marhali
433ce8e844 add option to force key folding 2022-04-21 22:17:16 +02:00
marhali
752aecfeca expand already expanded nodes after data update 2022-04-21 21:49:06 +02:00
marhali
fc107aa839 finalize editor assistance 2022-04-21 20:06:28 +02:00
marhali
6e9d0671ca reengineer editor assistance
Tasks Left
- language support (vue, js / ts, kotlin, php)
- Intention system is bounded to Java ATM
2022-04-14 20:50:45 +02:00
marhali
0a8a92d3f8 move update process into parent class 2022-04-14 15:23:35 +02:00
marhali
0d81fc9b16 define api for optional assistance functionalities 2022-04-14 15:15:49 +02:00
marhali
b89bae1dae provide presets 2022-04-11 22:16:45 +02:00
marhali
cb228a7c05 update to new data structure 2022-04-11 22:16:09 +02:00