chylex / IntelliJ-Inspection-Lens

IntelliJ platform plugin that shows errors, warnings, and other inspection highlights inline.
https://plugins.jetbrains.com/plugin/19678-inspection-lens
Mozilla Public License 2.0
57 stars 12 forks source link

Android Studio Support #9

Closed Smponi closed 1 year ago

Smponi commented 1 year ago

The newest stable Android Studio version is Android Stidoo Electric Eel. Which is based on Intellij 2022.1. However, this plugin only supports IntelliJ 2022.2+.

I think a lot of Android developers would love to be able, to use this plugin.

Smponi commented 1 year ago

I have already tried to add the 2022.1+ Support.

chylex commented 1 year ago

I'll be an asshole here, but I don't really want the plugin's development to be constrained by an IDE that refuses to stay up to date by several major versions, nor provide support for any issues that occur on those old versions.

It might make sense to create a separate branch and release a version that will only work on 2022.1, which would still come with expectations of support so I don't know if I want to do that, but the main branch should only move forward. The 2023.1 EAP already deprecated an API the plugin uses and replaced it with a new one, so once 2023.1 comes out I will be dropping support for 2022.x entirely, which probably means that any new features or bugfixes would become available to Android Studio users in 2025...

I would much prefer if users of Android Studio put pressure on the IDE developers to stay up to date, which if successful would have a lot more benefits than just the ability to install one plugin that doesn't support a year old IDE platform.

Smponi commented 1 year ago

That's unfortunate, but understandable.

chylex commented 1 year ago

I have no issue if others want to release and support their own version of the plugin, whether that's to add features I don't want to maintain, or to port the plugin to an older version of IntelliJ Platform... at the same time, that causes fragmentation which isn't the best result for users either.

I don't know what I want to do right now. I will think about the idea to merge the PR into a separate branch and release a dedicated 2022.1 version, with the caveat that I will not be spending my free time looking at any issues that exclusively affect that version - but I'm concerned that if issues were to arise, this would make people more mad than if I didn't release anything at all.

Smponi commented 1 year ago

If releasing the fork as another plugin with Android Studio in mind is an option, I wouldn't mind doing that. Since I work with Android Studio most of the time anyway.

chylex commented 1 year ago

Sure, feel free to link it and I'll add it to the README and plugin description.

chylex commented 1 year ago

Android Studio now supports IntelliJ 2022.2 platform, so it should be compatible with older versions of the plugin.