{"id":15144343,"url":"https://github.com/codeeditapp/codeeditsourceeditor","last_synced_at":"2025-05-15T09:02:50.860Z","repository":{"id":37879559,"uuid":"496990058","full_name":"CodeEditApp/CodeEditSourceEditor","owner":"CodeEditApp","description":"A code editor view written in Swift powered by tree-sitter.","archived":false,"fork":false,"pushed_at":"2025-04-07T00:03:47.000Z","size":2419,"stargazers_count":582,"open_issues_count":34,"forks_count":91,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-07T04:07:28.825Z","etag":null,"topics":["swift","tree-sitter"],"latest_commit_sha":null,"homepage":"https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor","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/CodeEditApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-05-27T12:35:04.000Z","updated_at":"2025-04-07T00:03:50.000Z","dependencies_parsed_at":"2023-10-15T19:26:48.225Z","dependency_job_id":"0c329824-f306-466c-87ec-293fcc630a48","html_url":"https://github.com/CodeEditApp/CodeEditSourceEditor","commit_stats":{"total_commits":274,"total_committers":24,"mean_commits":"11.416666666666666","dds":0.4890510948905109,"last_synced_commit":"033b68d3e3e845984fbc3d405720d5cc6ce61f71"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditSourceEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditSourceEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditSourceEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditSourceEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeEditApp","download_url":"https://codeload.github.com/CodeEditApp/CodeEditSourceEditor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248890626,"owners_count":21178472,"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":["swift","tree-sitter"],"created_at":"2024-09-26T10:40:42.635Z","updated_at":"2025-04-14T13:46:50.324Z","avatar_url":"https://github.com/CodeEditApp.png","language":"Swift","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/CodeEditApp/CodeEditTextView/blob/main/.github/CodeEditSourceEditor-Icon-128@2x.png?raw=true\" height=\"128\"\u003e\n  \u003ch1 align=\"center\"\u003eCodeEditSourceEditor\u003c/h1\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Follow CodeEdit on Twitter\" href=\"https://twitter.com/CodeEditApp\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Follow%20@CodeEditApp-black.svg?style=for-the-badge\u0026logo=Twitter\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Join the community on Discord\" href=\"https://discord.gg/vChUXVf9Em\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Join%20the%20community-black.svg?style=for-the-badge\u0026logo=Discord\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Read the Documentation\" href=\"https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor/\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Documentation-black.svg?style=for-the-badge\u0026logo=readthedocs\u0026logoColor=blue\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nAn Xcode-inspired code editor view written in Swift powered by tree-sitter for [CodeEdit](https://github.com/CodeEditApp/CodeEdit). Features include syntax highlighting (based on the provided theme), code completion, find and replace, text diff, validation, current line highlighting, minimap, inline messages (warnings and errors), bracket matching, and more.\n\n\u003cimg width=\"1012\" alt=\"social-cover-textview\" src=\"https://user-images.githubusercontent.com/806104/194083584-91555dce-ad4c-4066-922e-1eab889134be.png\"\u003e\n\n![GitHub release](https://img.shields.io/github/v/release/CodeEditApp/CodeEditSourceEditor?color=orange\u0026label=latest%20release\u0026sort=semver\u0026style=flat-square)\n![Github Tests](https://img.shields.io/github/actions/workflow/status/CodeEditApp/CodeEditSourceEditor/tests.yml?branch=main\u0026label=tests\u0026style=flat-square)\n![Documentation](https://img.shields.io/github/actions/workflow/status/CodeEditApp/CodeEditSourceEditor/build-documentation.yml?branch=main\u0026label=docs\u0026style=flat-square)\n![GitHub Repo stars](https://img.shields.io/github/stars/CodeEditApp/CodeEditSourceEditor?style=flat-square)\n![GitHub forks](https://img.shields.io/github/forks/CodeEditApp/CodeEditSourceEditor?style=flat-square)\n[![Discord Badge](https://img.shields.io/discord/951544472238444645?color=5865F2\u0026label=Discord\u0026logo=discord\u0026logoColor=white\u0026style=flat-square)](https://discord.gg/vChUXVf9Em)\n\n\u003e [!IMPORTANT]\n\u003e **CodeEditSourceEditor is currently in development and it is not ready for production use.** \u003cbr\u003e Please check back later for updates on this project. Contributors are welcome as we build out the features mentioned above!\n\n## Documentation\n\nThis package is fully documented [here](https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor/).\n\n## Usage\n\n```swift\nimport CodeEditSourceEditor\n\nstruct ContentView: View {\n\n    @State var text = \"let x = 1.0\"\n    @State var theme = EditorTheme(...)\n    @State var font = NSFont.monospacedSystemFont(ofSize: 11, weight: .regular)\n    @State var tabWidth = 4\n    @State var lineHeight = 1.2\n    @State var editorOverscroll = 0.3\n\n    var body: some View { \n        CodeEditSourceEditor(\n            $text,\n            language: .swift,\n            theme: $theme,\n            font: $font,\n            tabWidth: $tabWidth,\n            lineHeight: $lineHeight,\n            editorOverscroll: $editorOverscroll\n        )\n    }\n}\n```\n\n## Currently Supported Languages\n\nSee this issue https://github.com/CodeEditApp/CodeEditLanguages/issues/10 on `CodeEditLanguages` for more information on supported languages.\n\n## Dependencies\n\nSpecial thanks to [Matt Massicotte](https://twitter.com/mattie) for the great work he's done!\n\n| Package | Source | Author |\n| :- | :- | :- |\n| `SwiftTreeSitter` | [GitHub](https://github.com/ChimeHQ/SwiftTreeSitter) | [Matt Massicotte](https://twitter.com/mattie) |\n\n## License\n\nLicensed under the [MIT license](https://github.com/CodeEditApp/CodeEdit/blob/main/LICENSE.md).\n\n## Related Repositories\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEdit\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEdit/blob/main/.github/CodeEdit-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;CodeEdit\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditTextView\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditTextView/blob/main/.github/CodeEditTextView-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003eCodeEditTextView\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditLanguages\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditLanguages/blob/main/.github/CodeEditLanguages-Icon-128@2x.png?raw=true\" height=\"128\"\u003e\n        \u003cp\u003eCodeEditLanguages\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n        \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditCLI\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditCLI/blob/main/.github/CodeEditCLI-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003eCodeEditCLI\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditKit\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditKit/blob/main/.github/CodeEditKit-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;CodeEditKit\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeeditapp%2Fcodeeditsourceeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeeditapp%2Fcodeeditsourceeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeeditapp%2Fcodeeditsourceeditor/lists"}