Giter Club home page Giter Club logo

line-ending-converter's People

Contributors

oyarzun avatar williampuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

oyarzun

line-ending-converter's Issues

one unexpected newline when I save

I use windows but other colleagues use Mac. So I have to revert the line-ending. But after I change the line-ending to LF, every time I open a file and instantly save it, the atom change yellow to warn me . So I use git bash , and find there is a unexpected new line in the end of the page.
If there is wrong usage ,please tell me .Thanks!

Convert on save

Hi, how about to convert line endings automatically on save? Ideally we could create project settings for that. What do you think?

Add 'convert all to X'

As with most feature requests in Atom, my issue will start...

In Sublime, I can open a bunch of files in the editor and use the command palette to convert them all to Unix/Windows/whatever (and then save all). It'd be cool if this package could do the same. I have a feeling it's not too difficult, just iterate through all editors for the current window and apply the EOL change to each.

What would be better (but harder), and what Sublime does not do, would be to be able to do it for a bunch of files without having to open them. Maybe right click in tree view on a file to immediately convert and save the file, and on a directory to immediately convert and save all files within the directory (recursively). And maybe an extra command to just convert all files in project.

In an ideal world you could use a mini editor to accept a kind of glob patter for files to be converted, a bit like the "file/directory pattern" in the file in project dialog. That way I can make sure I only target certain files (e.g. *.php) rather than possibly erroneously converting files I need to keep a \r\n or binary files (though I'd suggest that this plugin somehow detect between a binary and a text file and make sure it doesn't convert binary files).

What do you think? Maybe take it one step at a time and start with the "all open editors" one?

Do not show in context menu

Have and option in setting to hide line-ending-converter commands from the context menu.

Reason: I don't use this package that often, but when I do, I access it from command palette so for me it just pollutes context menu.

image

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.