报告带有尾随空格字符的文本块。 尾随空格被视为是附带的,将被 Java 编译器去除。

Example (where spaces are indicated with dots):


..String.count.=."""
....one
....two....
....three
....""";

提供了两个快速修复。 One to remove the trailing whitespace, and one to escape the trailing whitespace so that it will not be removed by the compiler:


..String.count.=."""
....one
....two...\s
....three
....""";

2021.1 最新变化