{"id":18086309,"url":"https://github.com/fespinoza/helloxcodeextensions","last_synced_at":"2025-07-04T13:05:39.070Z","repository":{"id":143418040,"uuid":"225650528","full_name":"fespinoza/HelloXcodeExtensions","owner":"fespinoza","description":"For lack of a better name, this project is a small Xcode extension with a (growing) collection of edition utilities.","archived":false,"fork":false,"pushed_at":"2021-01-07T08:31:12.000Z","size":15023,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T06:57:09.929Z","etag":null,"topics":["regular-expressions","xcode-extension","xcode-source-editor-extension"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/fespinoza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2019-12-03T15:16:10.000Z","updated_at":"2021-01-07T08:31:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f95a189-47ab-4456-9239-493f73c11d51","html_url":"https://github.com/fespinoza/HelloXcodeExtensions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2FHelloXcodeExtensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2FHelloXcodeExtensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2FHelloXcodeExtensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2FHelloXcodeExtensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fespinoza","download_url":"https://codeload.github.com/fespinoza/HelloXcodeExtensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419815,"owners_count":20936012,"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":["regular-expressions","xcode-extension","xcode-source-editor-extension"],"created_at":"2024-10-31T16:07:35.729Z","updated_at":"2025-04-06T00:43:51.133Z","avatar_url":"https://github.com/fespinoza.png","language":"Swift","readme":"# HelloXcodeExtensions\n\nFor lack of a better name, this project is a small Xcode extension with a (growing) collection of edition utilities.\n\n![example-usage](./Docs/example-usage.gif)\n\nThe idea is that I will add certain features that they can be useful when developing apps with Xcode which can be implemented via the Xcode Extensions architecture.\n\nThis is mostly a learning project and a place to put certain \n\n## Installation\n\n1. Install the `HelloXcodeExtensions` mac app (which can be downloaded from [the releases page](https://github.com/fespinoza/HelloXcodeExtensions/releases/latest))\n2. Run the `HelloXcodeExtensions` at least once (and just close it, it doens't do anything)\n3. Open `System Preferences \u003e Extensions` and allow `HelloXcodeExtensions` in the _Xcode Source Editor_ section.\n\n![enable-extension](./Docs/enable-extension.png)\n\n4. Restart Xcode and then the extension will be available under `Editor \u003e SplitJoin \u003e Toggle Split/Join`\n\n![using-extension](./Docs/using-extension.png)\n\n### Keyboard shortcut\n\nXcode Source Editor extensions don't support default keyboard shortcuts for excode extensions, so you must create one yourself.\n\nTo create one:\n1. Open Open `System Preferences \u003e Keyboard` and select the `Shortcuts` pane.\n2. In the `App Shortcuts` section you can create a new shortcut by pressing the `+` button\n3. Select `Xcode` as the _Application_, fill `Toggle Split/Join` as the _Menu Title_ and finally assign the keyboard shortcut you wish (A suggestion would be `⌘⇧⌥J`).\n\n![add-keyboard-shortcut](./Docs/add-keyboard-shortcut.png)\n\n## Usage\n\n### SplitJoin\n\nTurns function calls from one line to multiple (or vice versa).\n\nFor example, given the following code\n\n```swift\nstatic let attributesStyle = SampleAttributeStyle(titleFont: .caption, titleColor: .textPrimary, titleNumberOfLines: 1, titleColomnFixedWidth: 130)\n```\n\nIt can be reformatted with `Toggle Split/Join` to:\n\n```swift\nstatic let attributesStyle = SampleAttributeStyle(\n    titleFont: .caption,\n    titleColor: .textPrimary,\n    titleNumberOfLines: 1,\n    titleColomnFixedWidth: 130\n)\n```\n\n## License \n\nMIT\n\n## About Xcode Source Extensions\n\nXcode Source Editor Extensions are very limited, the basic of them is that they only work in one file at a time and just for string manipulation, so when using them you don't have semantic information about the source code.\n\nTo learn more about them, the best resource I found was [Xcode​Kit and Xcode Source Editor Extensions](https://nshipster.com/xcode-source-extensions/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffespinoza%2Fhelloxcodeextensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffespinoza%2Fhelloxcodeextensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffespinoza%2Fhelloxcodeextensions/lists"}