후행 공백 문자가 있는 텍스트 블록을 보고합니다. 후행 공백은 부수적인 것으로 간주되며 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의 새로운 기능