Skip to content
| Marketplace
Sign in
Visual Studio>Tools>ForceLineFeedCode
ForceLineFeedCode

ForceLineFeedCode

taqu29

|
707 installs
| (2) | Free
Force saving texts with any line endings.
Download

Force Line Feed Code

This extension converts any line feed codes to a specified code before saving a document. You select that line feed code at the option page.

Usage

You can find properties for this at the menu [Tools]->[Options]->[ForceLineFeedCode].
Select target codes for each languages (now support for C/C++, CSharp, and others).

ForceFeedLineCode_Option__1.png

Setting File

Try to find a setting file,

  1. From the directory of the focused file
  2. Search _forcelinefeedcode.xml
  3. If the current directory don't have ".git" or ".svn", move to upper directory and repeat from 2.

An example setting file _forcelinefeedcode.xml is,

<?xml version="1.0" encoding="utf-8"?>
<General>
    <Code lang="C/C++">LF</Code>
    <Code lang="CSharp">LF</Code>
    <Code lang="Others">LF</Code>
</General>

License

Public domain

Release History

v.19
Fix don't parse the first entry of a setting file.
Change to search a setting file from the directory of the focused file.
v1.8
Add a option to load a setting file.
v1.7
Up .Net Framework to 4.7.2
Fix using deprecated APIs.
v1.3
Rebuild with VS 2019 to fix errors about deprecation.
v1.2
Fix referenced COM components and prerequisites.
v1.1
Add other languages option
v1.0
Initial release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft