expert-lsp / expert-lsp/expert

Bug: removal of trailing whitespaces in multiline strings

未關閉
#246 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
needs:reproduction
主要語言
Elixir
星號
2.1k
分支
113
平均合併
1 天 10 小時
30 天內合併 PR
26

描述

Expert seems to remove trailing whitespaces even within a string block, i.e.
```elixir
input = ~S"""
123 328 51 64
45 64 387 23
6 98 215 314
* + * +
"""
```
becomes:
```elixir
input = ~S"""
123 328 51 64
45 64 387 23
6 98 215 314
* + * +
"""
```
A multi-line string should not be touched

Note: I run into this issue when trying to complete this years [advent of code](https://adventofcode.com/2025/day/6) puzzle (it's an issue in part2, but the block is visible already in part1)

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。