lombok-intellij-plugin icon indicating copy to clipboard operation
lombok-intellij-plugin copied to clipboard

Incompatible with Intellij Chinese ​(Simplified)​ Language Pack EAP

Open fevenor opened this issue 5 years ago • 2 comments
trafficstars

Short description

Enable both Lombook Plugin and Chinese ​(Simplified)​ Language Plugin, IDEA cannot resolve symbol on"@RequiredArgsConstructor(onConstructor = @__(@Autowired))".

image

Expected behavior

IDEA can resolve symbol.

Version information

  • IDEA Version: 2020.2
  • Lombok Plugin Version: 0.30-EAP
  • Chinese ​(Simplified)​ Language Pack EAP: 202.400

fevenor avatar Jul 29 '20 00:07 fevenor

Similar issue #832, possible duplicate

mplushnikov avatar Sep 06 '20 17:09 mplushnikov

Short description

Also occurs with Korean Language Pack EAP.

image

https://github.com/mplushnikov/lombok-intellij-plugin/blob/releasebuild_0.34-2020.1/src/main/java/de/plushnikov/intellij/plugin/handler/OnXAnnotationHandler.java#L15

private static final Pattern CANNOT_RESOLVE_SYMBOL_UNDERSCORES_MESSAGE = Pattern.compile("Cannot resolve symbol '__*'");

According to the code, I understand that the plugin makes the IDE just ignore the error message if some conditions are met. But since Language Pack is applied, the error message comes in a different format, so it cannot match the regex.

Version information

  • IDEA Version: 2020.3.1 (Ultimate Edition) Build #IU-203.6682.168
  • JDK Version: Azul 1.8.0_282
  • OS Type & Version: Windows 10 Pro x64 20H2 19042.746
  • Lombok Plugin Version: Bundled 203.6682.168
  • Lombok Dependency Version: 1.18.16

KENNYSOFT avatar Jan 22 '21 18:01 KENNYSOFT