{"id":22598981,"url":"https://github.com/lee-dohm/tabs-to-spaces","last_synced_at":"2025-04-11T01:21:37.624Z","repository":{"id":14813670,"uuid":"17536117","full_name":"lee-dohm/tabs-to-spaces","owner":"lee-dohm","description":":atom: package for converting between tabs and spaces","archived":false,"fork":false,"pushed_at":"2018-04-20T16:33:37.000Z","size":186,"stargazers_count":70,"open_issues_count":7,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T02:37:45.395Z","etag":null,"topics":["atom","atom-package","convert-leading-whitespace","spaces","tabs"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/tabs-to-spaces","language":"JavaScript","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/lee-dohm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-03-08T05:49:21.000Z","updated_at":"2024-10-09T22:22:55.000Z","dependencies_parsed_at":"2022-08-03T00:31:23.916Z","dependency_job_id":null,"html_url":"https://github.com/lee-dohm/tabs-to-spaces","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lee-dohm%2Ftabs-to-spaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lee-dohm%2Ftabs-to-spaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lee-dohm%2Ftabs-to-spaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lee-dohm%2Ftabs-to-spaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lee-dohm","download_url":"https://codeload.github.com/lee-dohm/tabs-to-spaces/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248323373,"owners_count":21084488,"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":["atom","atom-package","convert-leading-whitespace","spaces","tabs"],"created_at":"2024-12-08T11:07:42.413Z","updated_at":"2025-04-11T01:21:37.604Z","avatar_url":"https://github.com/lee-dohm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tabs to Spaces\n\n[![Build Status](https://img.shields.io/travis/lee-dohm/tabs-to-spaces.svg)](https://travis-ci.org/lee-dohm/tabs-to-spaces)\n[![Package Version](https://img.shields.io/apm/v/tabs-to-spaces.svg)](https://atom.io/packages/tabs-to-spaces)\n[![Package Downloads](https://img.shields.io/apm/dm/tabs-to-spaces.svg)](https://atom.io/packages/tabs-to-spaces)\n[![Dependency Status](https://img.shields.io/david/lee-dohm/tabs-to-spaces.svg)](https://david-dm.org/lee-dohm/tabs-to-spaces)\n\nAn Atom package for converting leading whitespace to either all spaces or all tabs.\n\n## Usage\n\nIt can convert any form of leading whitespace to either all spaces (Untabify) or the maximum number of tabs and minimum number of spaces with tabs up front (Tabify) to fill the same space. It can also convert all tabs in a document to spaces (Untabify All).\n\nIt will also, with configuration, convert to your preferred method of leading whitespace on save.\n\n### Commands\n\n* `tabs-to-spaces:tabify` \u0026mdash; Converts leading whitespace to tabs\n* `tabs-to-spaces:untabify` \u0026mdash; Converts leading whitespace to spaces\n* `tabs-to-spaces:untabify-all` \u0026mdash; Converts all whitespace on a line to spaces\n\n### Configuration\n\nTabs to Spaces uses the following configuration values:\n\n* `editor.tabLength` \u0026mdash; sets the number of space characters a tab character is equivalent to\n* `tabs-to-spaces.onSave` \u0026mdash; if set to either `tabify` or `untabify` it performs that operation on save. :rotating_light: **Warning:** :rotating_light: Setting this to anything other than `none` can **significantly** impact performance when saving large files.\n\nThe package also supports language-specific configuration for the `onSave` setting. For example, the following configuration will tabify all file types on save except for JavaScript files:\n\n```coffee\n'*':\n  'tabs-to-spaces':\n    'onSave': 'tabify'\n'.source.js':\n  'tabs-to-spaces':\n    'onSave': 'none'\n```\n\nNo matter what `tabs-to-spaces.onSave` settings you configure, your `config.cson` will not be automatically tabified or untabified.\n\n### Keybindings\n\nKeybindings have not been set for this package. They can easily be added by referencing the commands listed above.\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flee-dohm%2Ftabs-to-spaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flee-dohm%2Ftabs-to-spaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flee-dohm%2Ftabs-to-spaces/lists"}