{"id":17488478,"url":"https://github.com/smastrom/sublime-prettierd-format","last_synced_at":"2025-07-12T03:09:00.943Z","repository":{"id":195002121,"uuid":"691990628","full_name":"smastrom/sublime-prettierd-format","owner":"smastrom","description":"Sublime Text plugin to format files faster using prettierd","archived":false,"fork":false,"pushed_at":"2025-04-08T11:52:27.000Z","size":9,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T10:06:39.384Z","etag":null,"topics":["prettier","prettierd","sublime-text","sublime-text-4","sublime-text-plugin"],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/Prettierd%20Format","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smastrom.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-15T10:17:22.000Z","updated_at":"2025-04-08T11:49:27.000Z","dependencies_parsed_at":"2023-09-16T05:37:14.365Z","dependency_job_id":"76ceaf19-0e93-4295-8844-daf625fe8cbc","html_url":"https://github.com/smastrom/sublime-prettierd-format","commit_stats":null,"previous_names":["smastrom/prettierd","smastrom/prettierd-format"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/smastrom/sublime-prettierd-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smastrom%2Fsublime-prettierd-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smastrom%2Fsublime-prettierd-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smastrom%2Fsublime-prettierd-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smastrom%2Fsublime-prettierd-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smastrom","download_url":"https://codeload.github.com/smastrom/sublime-prettierd-format/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smastrom%2Fsublime-prettierd-format/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260852062,"owners_count":23072583,"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":["prettier","prettierd","sublime-text","sublime-text-4","sublime-text-plugin"],"created_at":"2024-10-19T04:07:58.863Z","updated_at":"2025-06-20T00:02:54.580Z","avatar_url":"https://github.com/smastrom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prettierd Format\n\nSublime Text plugin to format files faster using [prettierd](https://github.com/fsouza/prettierd).\n\n\u003cbr /\u003e\n\n## Installation\n\n1. Install [prettierd](https://github.com/fsouza/prettierd) globally with npm/yarn/pnpm:\n\n```sh\nnpm i -g @fsouza/prettierd\n```\n\n2. Install this plugin with [Package Control](https://packagecontrol.io/packages/Prettierd%20Formatter):\n\n`Package Control: Install Package` → `Prettierd Format`\n\n3. Restart Sublime Text\n\n\u003cbr /\u003e\n\n## Usage\n\nBy default it formats on save any file supported by [Prettier](https://prettier.io/docs/en/) out-of-the-box.\n\n### Commands\n\nTo format a file:\n\n- `Prettierd: Format`\n\nTo save a file without formatting:\n\n- `Prettierd: Save without formatting`\n\n### Options\n\nEnable/disable format on save:\n\n```json\n\"format_on_save\": true\n```\n\nAdd additional extensions (enabled via prettier plugins) to be formatted either on save or commands:\n\n```json\n\"additional_extensions\": [\"php\"]\n```\n\nExclude extensions from being formatted on save:\n\n```json\n\"disabled_extensions_on_save\": [\"md\"]\n```\n\nExclude directories from being formatted on save:\n\n```json\n\"disabled_directories_on_save\": [\"*/node_modules/*\"]\n```\n\nOptional, path to `prettierd` executable. If not specified, it will be searched for in the system:\n\n```json\n\"prettierd_path\": null\n```\n\nAll these options can be configured globally in your user settings, or per project under the `\"PrettierdFormat\"` setting:\n\n```json\n{\n    \"settings\":\n    {\n        \"PrettierdFormat\":\n        {\n            \"format_on_save\": true\n        }\n    }\n}\n```\n\n\u003cbr /\u003e\n\n## Notes\n\nThis plugin does nothing else than piping the input to `prettierd` and replacing the view contents with the output.\n\nIt is basically just like executing `cat file.js | prettierd file.js` with the command line.\n\nFor this reason, any issue with prettier plugins or configuration should be investigated on the [prettierd](https://github.com/fsouza/prettierd) repo as it is the underlying tool actually interacting with Prettier.\n\n### Astro / Svelte\n\nAs of September 2023, there are some upstream issues with Astro and Svelte files.\n\nYou can format them with the command `LSP: format` after installing their LSPs and enabling format on save for each language in the LSP settings.\n\nUsing the above command not only respects the `.prettierrc` configuration but is also very fast.\n\n\u003cbr /\u003e\n\n## License\n\n0BSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmastrom%2Fsublime-prettierd-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmastrom%2Fsublime-prettierd-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmastrom%2Fsublime-prettierd-format/lists"}