{"id":13857085,"url":"https://github.com/randy3k/Whitespace","last_synced_at":"2025-07-13T20:30:28.814Z","repository":{"id":17935974,"uuid":"20911791","full_name":"randy3k/Whitespace","owner":"randy3k","description":"Remove Trailing Whitespace for Sublime Text","archived":false,"fork":false,"pushed_at":"2018-01-21T23:02:52.000Z","size":7,"stargazers_count":43,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T08:24:16.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/randy3k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-17T05:48:20.000Z","updated_at":"2024-11-30T00:48:28.000Z","dependencies_parsed_at":"2022-07-26T19:49:15.763Z","dependency_job_id":null,"html_url":"https://github.com/randy3k/Whitespace","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/randy3k/Whitespace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randy3k%2FWhitespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randy3k%2FWhitespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randy3k%2FWhitespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randy3k%2FWhitespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/randy3k","download_url":"https://codeload.github.com/randy3k/Whitespace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randy3k%2FWhitespace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265199600,"owners_count":23726683,"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-05T03:01:25.332Z","updated_at":"2025-07-13T20:30:28.491Z","avatar_url":"https://github.com/randy3k.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Whitespace\n\nSublime Text has options `trim_trailing_white_space_on_save` and `ensure_newline_at_eof_on_save` to handle whitespace.\nIn some situations, these options do not give satisfactory result. While similar packages exist, e.g., [TrailSpaces](https://github.com/SublimeText/TrailingSpaces), they do not allow easier syntax specific settings.\nWhitespace helps in keeping your code clean by providing more features in removing trailing spaces.\n\n- remove trailing whitespace \n- ensure single trailing newline\n- ignore whitespace only lines\n- ignore whitespace on current line\n\n\n### Installation\nThis plugin can be installed via package control.\n\n### Options\n- The easiest way to apply \"remove trailing whitespace\" is by Command Palette `C+Shift+P`. \n\n- To activate \"remove trailing whitespace on save\", click the menu items in `Edit -\u003e Whitespace`.\n\n- To enable Whitespace at startup, modify your preference setting file. If you want to enable Whitespace for a specific syntax, \nedit `Preferences -\u003e Settings - More -\u003e Syntax Specific`:\n\n```\n{\n    \"remove_trailing_whitespace_on_save\": true,\n    \"ensure_single_trailing_newline\": true,\n    \"ignore_whitespace_only_lines\": false,\n    \"ignore_whitespace_on_current_line\": true\n}\n```\n\nThe options explain themselves. Their default values are `false`. You can also make use of [Syntax Manager](https://github.com/randy3k/SyntaxMgr) to enable Whitespace for multiple syntaxes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandy3k%2FWhitespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandy3k%2FWhitespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandy3k%2FWhitespace/lists"}