Coder Social home page Coder Social logo

Comments (11)

florianb avatar florianb commented on May 21, 2024 8

Okay, this functionality is implemented by the atom-whitespace-package. Since this is a core-package its functionality has to be treated as first-class-citizen of Atom.

The good message about this is, we're able to easily add support for insert_final_newline, by modifying the text-buffer on the onWillSave-event.

The bad message is, the whitespace-package may override a "negative" setting, since it may be called after our hook.

I'll try to find a solution with the package-maintainer.

from atom-editorconfig.

sindresorhus avatar sindresorhus commented on May 21, 2024 1

@JaKXz Of course it isn't. It's not implemented yet. Hence this issue...

from atom-editorconfig.

anthonyryan1 avatar anthonyryan1 commented on May 21, 2024 1

Subscribing. Interested in this for insert_final_newline = false on hand-optimized SVG files (saving as many bytes as possible).

from atom-editorconfig.

kevinSuttle avatar kevinSuttle commented on May 21, 2024

Any reason you recommend setting this to false for Markdown files?

from atom-editorconfig.

sindresorhus avatar sindresorhus commented on May 21, 2024

I don't. I do for #3 though, since Markdown requires to trailing spaces for linebreak.

from atom-editorconfig.

JaKXz avatar JaKXz commented on May 21, 2024

It appears that this setting isn't taking effect for me on Atom 0.169.0 with v0.2.3 running on OSX 10.10.1.

from atom-editorconfig.

JaKXz avatar JaKXz commented on May 21, 2024

Oh. That's odd, I could swear I'd seen it working before [and I had disabled Atom's whitespace plugin]... but obviously I was just seeing things. Sorry for the noise.

from atom-editorconfig.

jerone avatar jerone commented on May 21, 2024

@JaKXz commented on 10 jan. 2015 06:31 CET:

Oh. That's odd, I could swear I'd seen it working before [and I had disabled Atom's whitespace plugin]... but obviously I was just seeing things. Sorry for the noise.

atom-beautify supports this:

Js end with newline

from atom-editorconfig.

sindresorhus avatar sindresorhus commented on May 21, 2024

@EloB Please read the thread before commenting... #4 (comment)

from atom-editorconfig.

mahnunchik avatar mahnunchik commented on May 21, 2024

Any news?

from atom-editorconfig.

florianb avatar florianb commented on May 21, 2024

Our feature-request is not supported. It is suggested to work around the issue, which is what we will do. I assume to get this issue into WIP in the next days.

I am sorry for the inconvenience - i was some weeks away from desk and i am still getting back. :)

from atom-editorconfig.

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.