Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,18 @@ spotless {
trimTrailingWhitespace()
endWithNewline()

// Eclipse WTP splits strings.xml entries across lines, so exclude it.
// Eclipse WTP splits strings.xml entries across lines, so exclude it. LSP test
// fixtures (testing/resources/test-project/**/*_template.xml) embed an
// "@@cursor@@" marker inside attribute-like text; the formatter splits it
// across lines too, breaking the marker lookup, so exclude those as well.
target(
spotlessTarget(
"**/src/*/res/**/*.xml",
extraExcludes = arrayOf("**/src/*/res/values*/strings.xml"),
extraExcludes =
arrayOf(
"**/src/*/res/values*/strings.xml",
"testing/resources/test-project/**/*_template.xml",
),
),
)
}
Expand Down
Loading
Loading