{"id":13432373,"url":"https://github.com/atom/wrap-guide","last_synced_at":"2025-03-16T23:31:14.523Z","repository":{"id":10028531,"uuid":"12070396","full_name":"atom/wrap-guide","owner":"atom","description":"Don't cross the line","archived":true,"fork":false,"pushed_at":"2022-09-28T10:52:01.000Z","size":182,"stargazers_count":40,"open_issues_count":3,"forks_count":31,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-10-27T11:51:07.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"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":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-13T01:33:50.000Z","updated_at":"2023-07-07T21:27:51.000Z","dependencies_parsed_at":"2023-01-11T20:13:54.562Z","dependency_job_id":null,"html_url":"https://github.com/atom/wrap-guide","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fwrap-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fwrap-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fwrap-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fwrap-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom","download_url":"https://codeload.github.com/atom/wrap-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243949884,"owners_count":20373653,"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-07-31T02:01:10.847Z","updated_at":"2025-03-16T23:31:14.242Z","avatar_url":"https://github.com/atom.png","language":"CoffeeScript","readme":"##### Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our [official announcement](https://github.blog/2022-06-08-sunsetting-atom/)\n # Wrap Guide package\n[![macOS Build Status](https://travis-ci.org/atom/wrap-guide.svg?branch=master)](https://travis-ci.org/atom/wrap-guide)\n[![Windows Build Status](https://ci.appveyor.com/api/projects/status/5qk1io3uar5j8hol/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/wrap-guide/branch/master)\n[![Dependency Status](https://david-dm.org/atom/wrap-guide.svg)](https://david-dm.org/atom/wrap-guide)\n\nThe `wrap-guide` package places a vertical line in each editor at a certain column to guide your formatting, so lines do not exceed a certain width.\n\nBy default, the wrap-guide is placed at the value of `editor.preferredLineLength` config setting. The 80th column is used as the fallback if the config value is unset.\n\n![](https://f.cloud.github.com/assets/671378/2241976/dbf6a8f6-9ced-11e3-8fef-d8a226301530.png)\n\n## Configuration\n\nYou can customize where the column is placed for different file types by opening the Settings View and configuring the \"Preferred Line Length\" value. If you do not want the guide to show for a particular language, that can be set using scoped configuration. For example, to turn off the guide for GitHub-Flavored Markdown, you can add the following to your `config.cson`:\n\n```coffeescript\n'.source.gfm':\n  'wrap-guide':\n    'enabled': false\n```\n\nIt is possible to configure the color and/or width of the line by adding the following CSS/LESS to your `styles.less`:\n\n```css\natom-text-editor .wrap-guide {\n  width: 10px;\n  background-color: red;\n}\n```\n\nMultiple guide lines are also supported. For example, add the following to your `config.cson` to create four columns at the indicated positions:\n\n```coffeescript\n'wrap-guide':\n  'columns': [72, 80, 100, 120]\n```\n\n\u003e Note: When using multiple guide lines, the right-most guide line functions as your `editor.preferredLineLength` setting.\n","funding_links":[],"categories":["CoffeeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fwrap-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom%2Fwrap-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fwrap-guide/lists"}