localizely / flutter-intl-intellij

This Android Studio & IntelliJ plugin generates boilerplate code for localization of Flutter apps with official Dart Intl library
MIT License
129 stars 4 forks source link

Incompatible with Intellij IDEA 2023.2 #101

Closed elliotkhd closed 1 year ago

francisnnumbi commented 1 year ago

is there any solution yet for this incompatibility issue ?

lzoran commented 1 year ago

Thanks for reporting this issue!

We are working on it and plan to roll out a new release that fixes it in the next few days.

While you wait for the new release, there are some workarounds you could try:

  1. Revert to a prior version of IntelliJ: Temporarily use a version earlier than 2023.2.

  2. Disable the Flutter Intl plugin and manually generate localization files: This can be done by:

    • Disabling the Flutter Intl plugin in the pubspec.yaml file:

      flutter_intl:
      enabled: false
    • Running the following command to manually generate localization files:

      flutter pub global run intl_utils:generate
chenjun1127 commented 1 year ago

Not compatible with the version of your running IDE (IntelliJ IDEA 2023.2)

How to solve?

lzoran commented 1 year ago

Hi @chenjun1127,

I see there is already a merged PR for this issue in our internal repo. Not sure why it hasn't been released yet. I'll look into speeding things up. Do keep in mind, though, that IntelliJ might take 1-3 days to approve a new plugin version.

lzoran commented 1 year ago

This issue should be fixed with Flutter Intl version 1.18.4-2023.2.

Closing it as resolved. In case of any irregularities, feel free to open it again.