lombok-intellij-plugin
lombok-intellij-plugin copied to clipboard
Incompatible with Intellij Chinese (Simplified) Language Pack EAP
Short description
Enable both Lombook Plugin and Chinese (Simplified) Language Plugin, IDEA cannot resolve symbol on"@RequiredArgsConstructor(onConstructor = @__(@Autowired))".

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
Similar issue #832, possible duplicate
Short description
Also occurs with Korean Language Pack EAP.

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