Projects/KDE on Windows/Issues/MSVC: Difference between revisions

From KDE TechBase
(New page: This page provides some tips and notes for users of MSVC compiler and/or development environment. == Preserve Line Endings == If you need to have a file with Unix (LF -- 0x0a) line ending...)
 
No edit summary
Line 5: Line 5:
*Note1: "Current settings" is the default and works either for your KDE applications; windows-only source files (line endings are preserved) but newly created files have windows line endings :(.
*Note1: "Current settings" is the default and works either for your KDE applications; windows-only source files (line endings are preserved) but newly created files have windows line endings :(.
*Note3: it is good idea to use Unix (LF) line endings for KDE applications, but if you're using Subversion, it does perform line-endings conversion to Unix style for you upon committing. '''Using Unix line ending style is good for portability.'''
*Note3: it is good idea to use Unix (LF) line endings for KDE applications, but if you're using Subversion, it does perform line-endings conversion to Unix style for you upon committing. '''Using Unix line ending style is good for portability.'''
[[Category:MS Windows]]

Revision as of 22:36, 30 January 2008

This page provides some tips and notes for users of MSVC compiler and/or development environment.

Preserve Line Endings

If you need to have a file with Unix (LF -- 0x0a) line endings if you're using msvc's code editor: go to "File->Advanced Save Options" and set "Line Endings "as "Unix (LF)".

  • Note1: "Current settings" is the default and works either for your KDE applications; windows-only source files (line endings are preserved) but newly created files have windows line endings :(.
  • Note3: it is good idea to use Unix (LF) line endings for KDE applications, but if you're using Subversion, it does perform line-endings conversion to Unix style for you upon committing. Using Unix line ending style is good for portability.