mplushnikov / lombok-intellij-plugin

Lombok Plugin for IntelliJ IDEA
Apache License 2.0
3.11k stars 635 forks source link

Lombok plugin 0.34.1 breaks code completion in Android Studio Electric Eel | 2022.1.1 #1171

Closed ykrapiva closed 1 year ago

ykrapiva commented 1 year ago

Short description

After installing the plugin 0.34.1 from disk with the patched version in META-INF/plugin.xml as "AI-221.*" code completion stops working, no methods show up after CTRL+SPACE

Expected behavior

Code completion should work as usual

Version information

Steps to reproduce

  1. Take plugin 0.34.1, edit the version in META-INF/plugin.xml to "AI-221.*"

  2. Install "from disk" in Android Studio Electric Eel | 2022.1.1

  3. Add the following into your build.gradle file: compileOnly 'org.projectlombok:lombok:1.18.24' annotationProcessor 'org.projectlombok:lombok:1.18.24'

  4. Try code completion on any class

    Screenshot 2023-02-01 at 21 55 02
XiaoGuo227 commented 1 year ago

Hello, can you upload a plugin

ykrapiva commented 1 year ago

lombok-plugin.zip

@XiaoGuo227 Here it is

homayoonahmadi commented 1 year ago

Hi there, this worked for me:

lombok-electric eel.zip

ykrapiva commented 1 year ago

@homayoonahmadi This is strange, this version works. Probably my version was corrupted by macos commands I used to patch the plugin. Thank you !