{"id":14109008,"url":"https://github.com/atom/line-ending-selector","last_synced_at":"2025-08-01T07:33:26.656Z","repository":{"id":35400517,"uuid":"39664796","full_name":"atom/line-ending-selector","owner":"atom","description":"Switch between Unix and Window style line endings.","archived":true,"fork":false,"pushed_at":"2018-10-17T00:02:42.000Z","size":99,"stargazers_count":33,"open_issues_count":0,"forks_count":18,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-14T10:14:01.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"automote/kicad-library","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-25T00:05:45.000Z","updated_at":"2024-08-14T10:14:01.065Z","dependencies_parsed_at":"2022-09-22T15:01:48.517Z","dependency_job_id":null,"html_url":"https://github.com/atom/line-ending-selector","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fline-ending-selector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fline-ending-selector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fline-ending-selector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fline-ending-selector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom","download_url":"https://codeload.github.com/atom/line-ending-selector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228351576,"owners_count":17906507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-14T10:01:59.368Z","updated_at":"2024-12-05T18:30:36.301Z","avatar_url":"https://github.com/atom.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"### This package is now a part of the [core Atom repository](https://github.com/atom/atom/tree/master/packages/line-ending-selector). Please direct all issues and pull requests there in the future!\n\n---\n\n# Line Ending Selector package\n[![OS X Build Status](https://travis-ci.org/atom/line-ending-selector.svg?branch=master)](https://travis-ci.org/atom/line-ending-selector) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/b3743n9ojomlpn1g/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/line-ending-selector/branch/master) [![Dependency Status](https://david-dm.org/atom/line-ending-selector.svg)](https://david-dm.org/atom/line-ending-selector)\n\n![status bar tile](https://cloud.githubusercontent.com/assets/1305617/9274149/6b317568-4293-11e5-83ba-614a6c0d9890.png)\n\nThis is an [Atom](https://atom.io) package that displays the current line ending type of a file: `CRLF` (Windows), `LF` (Unix), or `Mixed` (both). It also lets you change the line ending of a file.\n\n## To Use\n\nWhen the package is activated it will show the current line ending of the file in the right side of the status-bar. If a new file is created the line ending will start with the system default: `CRLF` for Windows, `LF` for Mac and Linux, and `CR` for old-style Mac files. If a file contains multiple line-ending types it will display `Mixed`.\n\n### Changing a File's Line Ending\n\nYou can click the line ending in the status-bar to open a modal with the line ending options. Selecting a different line ending will change each line of the file in the active editor.\n\n![modal](https://cloud.githubusercontent.com/assets/1305617/9273907/2be5c136-4291-11e5-94af-65ece408eb12.png)\n\n**Line Endings**\n\n- `LF` is \"\\n\"\n- `CRLF` is \"\\r\\n\"\n\n**Note:** Because the `CR` line ending style is not used in any modern operating system, this package only supports converting *from* `CR` line endings not to it.\n\n### Atom Commands\n\nYou can also change a file's line endings by using or \u003ckbd\u003ecmd-shift-P\u003c/kbd\u003e searching for these commands:\n\n```text\nline-ending-selector:convert-to-LF\nline-ending-selector:convert-to-CRLF\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fline-ending-selector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom%2Fline-ending-selector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fline-ending-selector/lists"}