{"id":13427351,"url":"https://github.com/textmate/textmate","last_synced_at":"2025-05-13T18:05:53.635Z","repository":{"id":4222383,"uuid":"5344375","full_name":"textmate/textmate","owner":"textmate","description":"TextMate is a graphical text editor for macOS 10.12 or later","archived":false,"fork":false,"pushed_at":"2024-05-18T11:00:21.000Z","size":20329,"stargazers_count":14311,"open_issues_count":19,"forks_count":1730,"subscribers_count":948,"default_branch":"master","last_synced_at":"2025-04-24T03:50:46.111Z","etag":null,"topics":["c-plus-plus","cocoa","macos","objective-c-plus-plus","texteditor","textmate"],"latest_commit_sha":null,"homepage":"https://macromates.com/","language":"Objective-C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/textmate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","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":"2012-08-08T16:25:52.000Z","updated_at":"2025-04-22T22:32:58.000Z","dependencies_parsed_at":"2023-07-09T08:48:07.746Z","dependency_job_id":"6a9c988f-d307-4d7d-ab72-79178b774fb4","html_url":"https://github.com/textmate/textmate","commit_stats":{"total_commits":5753,"total_committers":103,"mean_commits":55.85436893203884,"dds":0.1022075438901443,"last_synced_commit":"346b52b108b387462d4b3def481fb74983ae89f3"},"previous_names":[],"tags_count":307,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textmate%2Ftextmate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textmate%2Ftextmate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textmate%2Ftextmate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textmate%2Ftextmate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/textmate","download_url":"https://codeload.github.com/textmate/textmate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000845,"owners_count":21997441,"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":["c-plus-plus","cocoa","macos","objective-c-plus-plus","texteditor","textmate"],"created_at":"2024-07-31T00:02:00.479Z","updated_at":"2025-05-13T18:05:53.609Z","avatar_url":"https://github.com/textmate.png","language":"Objective-C++","readme":"# TextMate\n\n## Download\n\nYou can [download TextMate from here](https://macromates.com/download).\n\n## Feedback\n\nYou can use [the TextMate mailing list](https://lists.macromates.com/listinfo/textmate) or [#textmate][] IRC channel on [freenode.net][] for questions, comments, and bug reports.\n\nYou can also [contact MacroMates](https://macromates.com/support).\n\nBefore you submit a bug report please read the [writing bug reports](https://github.com/textmate/textmate/wiki/writing-bug-reports) instructions.\n\n## Screenshot\n\n![textmate](https://raw.github.com/textmate/textmate/gh-pages/images/screenshot.png)\n\n# Building\n\n## Setup\n\nTo build TextMate, you need the following:\n\n * [boost][]            — portable C++ source libraries\n * [Cap’n Proto][capnp] — serialization library\n * [multimarkdown][]    — marked-up plain text compiler\n * [ninja][]            — build system similar to `make`\n * [ragel][]            — state machine compiler\n * [sparsehash][]       — a cache friendly `hash_map`\n\nAll this can be installed using either [Homebrew][] or [MacPorts][]:\n\n```sh\n# Homebrew\nbrew install boost capnp google-sparsehash multimarkdown ninja ragel\n\n# MacPorts\nsudo port install boost capnproto multimarkdown ninja ragel sparsehash\n```\n\nAfter installing dependencies, make sure you have a full checkout (including submodules) and then run `./configure` followed by `ninja`, for example:\n\n```sh\ngit clone --recursive https://github.com/textmate/textmate.git\ncd textmate\n./configure \u0026\u0026 ninja TextMate/run\n```\n\nThe `./configure` script simply checks that all dependencies can be found, and then calls `bin/rave` to bootstrap a `build.ninja` file with default config set to `release` and default target set to `TextMate`.\n\n## Building from within TextMate\n\nYou should install the [Ninja][NinjaBundle] bundle which can be installed via _Preferences_ → _Bundles_.\n\nAfter this you can press ⌘B to build from within TextMate. In case you haven't already you also need to set up the `PATH` variable either in _Preferences_ → _Variables_ or `~/.tm_properties` so it can find `ninja` and related tools; an example could be `$PATH:/usr/local/bin`.\n\nThe default target (set in `.tm_properties`) is `TextMate/run`. This will relaunch TextMate but when called from within TextMate, a dialog will appear before the current instance is killed. As there is full session restore, it is safe to relaunch even with unsaved changes.\n\nIf the current file is a test file then the target to build is changed to build the library to which the test belongs (this is done by setting `TM_NINJA_TARGET` in the `.tm_properties` file found in the root of the source tree).\n\nSimilarly, if the current file belongs to an application target (other than `TextMate.app`) then `TM_NINJA_TARGET` is set to build and run this application.\n\n## Build Targets\n\nFor the `TextMate.app` application there are two symbolic build targets:\n\n```sh\nninja TextMate      # Build and sign TextMate\nninja TextMate/run  # Build, sign, and (re)launch TextMate\n```\n\nTo clean everything run:\n\n```sh\nninja -t clean\n```\n\nOr simply delete `~/build/TextMate`.\n\n# Legal\n\nThe source for TextMate is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nTextMate is a trademark of Allan Odgaard.\n\n[boost]:         http://www.boost.org/\n[ninja]:         https://ninja-build.org/\n[multimarkdown]: http://fletcherpenney.net/multimarkdown/\n[ragel]:         http://www.complang.org/ragel/\n[capnp]:         https://github.com/capnproto/capnproto.git\n[MacPorts]:      http://www.macports.org/\n[Homebrew]:      http://brew.sh/\n[NinjaBundle]:   https://github.com/textmate/ninja.tmbundle\n[sparsehash]:    https://code.google.com/p/sparsehash/\n[#textmate]:     irc://irc.freenode.net/#textmate\n[freenode.net]:  http://freenode.net/\n","funding_links":[],"categories":["Objective-C++","Applications","编辑器","textmate","Uncategorized","Integrated Development Enviroments"],"sub_categories":["Editors","网络服务_其他","Uncategorized","📝 Editors (4)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextmate%2Ftextmate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftextmate%2Ftextmate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextmate%2Ftextmate/lists"}