議論 » Greasy Fork镜像 への意見

Code Diff should ignore leading/trailing spaces

woxxomMod
§
投稿日: 2021/05/10

Many scripts change the indentation or switch tabs/spaces so the built-in diff becomes useless and we have to compare in an external tool, which is very time-consuming when doing it more than once...

woxxomMod
§
投稿日: 2021/05/10

Just saw the checkbox! Maybe it should be enabled by default? Meanwhile I'll write a personal script that enables it for me...

woxxomMod
§
投稿日: 2021/05/10

The current HTML of the checkbox is <input id="ignore-whitespace" type="checkbox" name="w" value="1"> which looks like a mistake because checkboxes don't use value, they should have checked like this: <input id="ignore-whitespace" type="checkbox" name="w" checked> so I guess it's a bug, @JasonBarnabe?

woxxomMod
§
投稿日: 2021/05/10

The diff shown inside reports doesn't have this checkbox.

返信を投稿

返信を投稿するにはログインしてください

长期地址
遇到问题?请前往 GitHub 提 Issues。