Jump to content

Windows/Issues/MSVC: Difference between revisions

From KDE Community Wiki
Alexmerry (talk | contribs)
m 6 revisions imported
Ochurlaud (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:


== See Also ==
== See Also ==
*[[Development/Tutorials/Debugging/Debugging_on_MS_Windows#MS_Visual_Studio_hints|Debugging on MS Windows: MS Visual Studio hints]]
*[[Windows/Imported From TechBase/Debugging#MS_Visual_Studio_hints|Debugging on MS Windows: MS Visual Studio hints]]


[[Category:MS Windows]]
[[Category:MS Windows]]

Latest revision as of 14:58, 18 March 2016

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)".

  • 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.

See Also