mapstruct / mapstruct-idea

An IntelliJ IDEA plugin for working with MapStruct
Other
141 stars 38 forks source link

Add support for java text-blocks for expression injection #188

Closed hduelme closed 7 months ago

hduelme commented 7 months ago

I added support for Java text blocks for expression injection. The only change necessary to support this was to change JAVA_EXPRESSION to accept one or three quotation marks.

In addition I disabled JavaExpressionUnnecessaryWhitespacesInspector if a text block is used.

filiphr commented 7 months ago

Thanks @hduelme