开发者

What Windows editor has CORRECT EOL whitespace handling?

开发者 https://www.devze.com 2023-01-01 16:56 出处:网络
I\'m looking for a Windows text editor for programming that handles EOL whitespace CORRECTLY, which for my idea of correct means: Strip all EOL whitespace on save, EXCEPT on lines that I haven\'t edit

I'm looking for a Windows text editor for programming that handles EOL whitespace CORRECTLY, which for my idea of correct means: Strip all EOL whitespace on save, EXCEPT on lines that I haven't edited. This is to minimise the amount of EOL whitespace evil in my world, but not pollute SCM diff/blame with whitespace-only fixes (I have to deal with old / other people's code).

I have played with TextPad, Notepad++, Kodomo Edit and Programmer's Notepad 2, and found all of them lacking.

Also: I don't get along with vi, and I am unsure about Emacs on Windows.

@Matti Virkkunen: I could mess with diff, but I want to fix the problem, not the symptom开发者_如何转开发s. Fixing diff means all my, others, and server side diff tools need to be fixed, and doesn't fix space/noise/hash change issues in SCM.

Example pet hate using that system: "update" tells me a file has changed. Diff shows no changes.


AFAIR, Komodo Edit leaves EOL unchanged, unless you explicitly change that in the settings.

0

精彩评论

暂无评论...
验证码 换一张
取 消