Coder Social home page Coder Social logo

Comments (5)

elricstorm avatar elricstorm commented on September 26, 2024

Okay, I've figured this out. You need to change your line endings to unix. When you do this and save and close and reopen it, it doesn't add an extra line. The main reason is windows adds a CRLF and Unix adds an LF.

The formatting entries are only temporary. Once SB3 is closed and reopened they don't show anymore.

from beautifyruby.

elricstorm avatar elricstorm commented on September 26, 2024

closing

from beautifyruby.

snowe2010 avatar snowe2010 commented on September 26, 2024

I'm still seeing CR at the end of every line, I've tried your suggestion of changing the setting to Unix style line endings but I still get CRs.

from beautifyruby.

gowk avatar gowk commented on September 26, 2024

Maybe It's a bug of Sublime Text 3.

from beautifyruby.

pioz avatar pioz commented on September 26, 2024

I have the same problem on OSX. Any update? If I run the command htmlbeautifier all works fine. If I save a file in sublime 3 with the option run_on_save: true the end of file newline is removed.

from beautifyruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.