change all crlf to lf vscodeMarabell82 git config core.autocrlf false git rm --cached -r . git reset --hard View another examples Add Own solution Log in, to leave a comment 0 9 EnglishTeacherEric 115 points git config core.autocrlf false git rm --cached -r . git reset --...
vscode CRLF自动转LF 解决方法: 1、使用 .editorconfig 我的配置如下; # vscode 请安装插件:CTRL+SHIFT+X 搜索 EditorConfig 并安装 #http://editorconfig.org root =true [*] charset = utf-8 indent_style = space indent_size = 2 end_of_line = lf insert_final_newline =true trim_trailing_whitespac...
end_of_line = crlf charset = utf-8 trim_trailing_whitespace = false # EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true [*] indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = false insert_final_...
vscode.d.ts Repository files navigation README MIT license Change All End Of Line Sequence This extension uses the built-in command 'Change End Of Line Sequence' to change the line ending (LF or CRLF) of all files of a specified type(s) in the Visual Studio Code workspace. Usage WARNIN...
type: feature request Right now there is no integrated tool to convert all line endings for existing files in a project to LF from CRLF. You either have to change them manually for every file or resort to command line scripts as in #2520...
*.sh text eol=lf # Force batch scripts to always use CRLF line endings so that if a repo is accessed # in Windows via a file share from Linux, the scripts will work. *.{cmd,[cC][mM][dD]} text eol=crlf *.{bat,[bB][aA][tT]} text eol=crlf # Denote all files that are tru...