Difference between revisions of "Projects/KDE on Windows/Issues/MSVC"

Jump to: navigation, search
(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...)
 
 
(3 intermediate revisions by one user not shown)
Line 3: Line 3:
 
== Preserve Line Endings ==
 
== 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)".
 
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 :(.
+
*Note: "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.'''
+
*Note: 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.'''
 +
 
 +
== See Also ==
 +
*[[Getting_Started/Build/KDE4/Windows/MS_Visual_Studio#Visual_Studio_2005_Express_Edition|Installing Visual Studio 2005 Express Edition]]
 +
*[[Development/Tutorials/Debugging/Debugging_on_MS_Windows#MS_Visual_Studio_hints|Debugging on MS Windows: MS Visual Studio hints]]
 +
 
 +
[[Category:MS Windows]]

Latest revision as of 14:23, 3 March 2008

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

[edit] 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)".

  • Note: "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 :(.
  • Note: 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.

[edit] See Also


This page was last modified on 3 March 2008, at 14:23. This page has been accessed 7,392 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal