{"id":13496043,"url":"https://github.com/sindresorhus/editorconfig-sublime","last_synced_at":"2025-05-15T15:05:19.659Z","repository":{"id":3447858,"uuid":"4501025","full_name":"sindresorhus/editorconfig-sublime","owner":"sindresorhus","description":"Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors","archived":false,"fork":false,"pushed_at":"2023-12-10T21:10:24.000Z","size":73,"stargazers_count":1767,"open_issues_count":9,"forks_count":108,"subscribers_count":35,"default_branch":"main","last_synced_at":"2024-10-29T17:48:12.406Z","etag":null,"topics":["editorconfig","python","sublime-package","sublime-text","sublime-text-plugin"],"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/sindresorhus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2012-05-30T21:50:07.000Z","updated_at":"2024-10-25T21:12:35.000Z","dependencies_parsed_at":"2023-12-10T22:24:19.495Z","dependency_job_id":"4631299c-d35d-45d2-9b48-e3e4a025be06","html_url":"https://github.com/sindresorhus/editorconfig-sublime","commit_stats":{"total_commits":64,"total_committers":19,"mean_commits":"3.3684210526315788","dds":0.328125,"last_synced_commit":"8d891a6875c60499d31f41b9032f4f7ca131275a"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Feditorconfig-sublime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Feditorconfig-sublime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Feditorconfig-sublime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Feditorconfig-sublime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/editorconfig-sublime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492918,"owners_count":20947607,"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":["editorconfig","python","sublime-package","sublime-text","sublime-text-plugin"],"created_at":"2024-07-31T19:01:41.251Z","updated_at":"2025-04-07T17:06:35.085Z","avatar_url":"https://github.com/sindresorhus.png","language":"Python","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Python","Editors","Essential Plugins","Extensions"],"sub_categories":["General Purpose"],"readme":"# EditorConfig\n\n\u003e [EditorConfig](https://editorconfig.org) helps developers maintain consistent coding styles between different editors\n\n\n## Install\n\nInstall `EditorConfig` with [Package Control](https://packagecontrol.io) and restart Sublime.\n\n\n## Getting started\n\nSee the [EditorConfig site][] for documentation.\n\n\n## Supported properties\n\n- root\n- indent_style\n- indent_size\n- end\\_of\\_line\n- charset\n- trim_trailing_whitespace\n- insert_final_newline\n\nExplanation of the properties can be found on the [EditorConfig site][].\n\n\u003csub\u003eThe `tab_width` property is intentionally not supported.\u003c/sub\u003e\n\n\n## Example file\n\n*My recommended default settings*\n\n```ini\nroot = true\n\n[*]\nindent_style = tab\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n```\n\n\n## Tips\n\n### EditorConfig snippet\n\nIf you can't remember all settings managed by the EditorConfig file, you'll love the `editorconfig` snippet.\n\nJust type `editorconfig` + \u003ckbd\u003etab\u003c/kbd\u003e, and your editor will focus on the first setting's value (indent_style = *lf*). You can change the value, if you want, and jump to the next setting's value by hitting \u003ckbd\u003etab\u003c/kbd\u003e and so on. Settings are somewhat autocompleted, and if you don't remember all possible values, simply remove the setting value to see them all as a comment.\n\nYou can be in a context where `editorconfig` + \u003ckbd\u003etab\u003c/kbd\u003e trigger another snippet. In that case, simply use `Goto anywhere` (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e on Linux/Windows or \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e on macOS), type `editorconfig`, select `Snippet: editorconfig` and hit \u003ckbd\u003eEnter\u003c/kbd\u003e.\n\n### View active config\n\nThe active config is printed in the Sublime console.\n\n### Trailing whitespace\n\nEven though there is a `trim_trailing_whitespace` property. I would still recommend you set `\"draw_white_space\": \"all\"` and/or `\"trim_trailing_white_space_on_save\": true` in your Sublime settings to prevent you from accidentally committing whitespace garbage whenever a project is missing a .editorconfig file.\n\n\n[EditorConfig site]: https://editorconfig.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Feditorconfig-sublime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Feditorconfig-sublime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Feditorconfig-sublime/lists"}