{"id":13748237,"url":"https://github.com/colinta/SublimeFileDiffs","last_synced_at":"2025-05-09T10:32:18.776Z","repository":{"id":2151939,"uuid":"3097034","full_name":"colinta/SublimeFileDiffs","owner":"colinta","description":"Show diffs between the current file, or selection(s) in the current file, and clipboard, another file, or unsaved changes.","archived":false,"fork":false,"pushed_at":"2025-04-13T14:53:09.000Z","size":417,"stargazers_count":509,"open_issues_count":2,"forks_count":86,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-04-13T15:38:35.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colinta.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}},"created_at":"2012-01-03T20:28:58.000Z","updated_at":"2025-04-13T14:53:12.000Z","dependencies_parsed_at":"2024-01-13T03:01:00.953Z","dependency_job_id":null,"html_url":"https://github.com/colinta/SublimeFileDiffs","commit_stats":{"total_commits":119,"total_committers":20,"mean_commits":5.95,"dds":0.5714285714285714,"last_synced_commit":"1943ead5cea80f9bc5136e1647347dea5d613051"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinta%2FSublimeFileDiffs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinta%2FSublimeFileDiffs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinta%2FSublimeFileDiffs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinta%2FSublimeFileDiffs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colinta","download_url":"https://codeload.github.com/colinta/SublimeFileDiffs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253234178,"owners_count":21875561,"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":[],"created_at":"2024-08-03T07:00:37.539Z","updated_at":"2025-05-09T10:32:18.770Z","avatar_url":"https://github.com/colinta.png","language":"Python","funding_links":[],"categories":["Python","Packages"],"sub_categories":["Files and Markdown Editors"],"readme":"FileDiffs Plugin\n================\n\nShows diffs between the current file, or selection(s) in the current file, and clipboard, another file, or unsaved changes. Can be configured to show diffs in an external diff tool\n\n### Preview\n\n![Preview](https://github.com/ildarkhasanshin/SublimeFileDiffs/raw/master/preview_1.png)\n\n![Preview](https://github.com/ildarkhasanshin/SublimeFileDiffs/raw/master/preview_2.png)\n\n![Preview](https://github.com/ildarkhasanshin/SublimeFileDiffs/raw/master/preview_3.png)\n\n--------------\n\nHelp!\n-----\n\nCheck the [wiki][] for more tips\n\n[wiki]: https://github.com/colinta/SublimeFileDiffs/wiki\n\nInstallation\n------------\n\nUsing Package Control, install `FileDiffs` or clone this repo in your packages folder.\n\nI recommended you add key bindings for the commands. I've included my preferred bindings below.\nCopy them to your key bindings file (⌘⇧,).\n\nAdd External Diff Tool *(optional)*\n--------\n\n(IMPORTANT: You might need to make a symlink (e.g. in /usr/local/bin) pointing to the command line tool of your external diff tool)\n\n1. Preferences \u003e Package Settings \u003e FileDiffs \u003e Settings - Default\n\n2. Uncomment one of the examples or write your own command to open external diff tool.\n\n   This command *may* need to be a full path (e.g. `/usr/local/bin/ksdiff`), if the command isn't in your `PATH`.\n\nIt supports:\n\n-   A generic setting `FileDiffs.sublime-settings` which could be overloaded for each parameter in a platform specific configuration `FileDiffs ($platform).sublime-settings` in the `Settings - User`\n-   Environment variable expansions for `cmd` parameter in the settings\n\nCommands\n--------\n\n`file_diff_menu`: Shows a menu to select one of the file_diff commands.  If you use the bindings in Example.sublime-keymap, this is bound to `ctrl+shift+d`.\n\nThe rest of the commands do not need to be bound (accessible from the menu):\n\n`file_diff_clipboard`: Shows the diff of the current file or selection(s) and the clipboard (the clipboard is considered the \"new\" file unless `reverse` is True)\n\n`file_diff_selections`: Shows the diff of the first and second selected regions.  The file_diff_menu command checks for exactly two regions selected, otherwise it doesn't display this command.\n\n`file_diff_saved`: Shows the diff of the current file or selection(s) and the saved file.\n\n`file_diff_file`: Shows the diff of the current file or selection(s) and a file that is in the current project.\n\n`file_diff_tab`: Shows the diff of the current file or selection(s) and an open file (aka a file that has a tab).\n\n`file_diff_previous`: Shows the diff of the current file or selection(s) and the previous activated file. If a file is not saved yet, dirty buffer is used instead of reading from disk.\n\nIf FileDiffs has to use temporary files, they are created in your `Data/Packages` folder (rather than system temp folder) due to privacy concerns for portable Sublime Text installations. Temporary files are automatically removed after 15 seconds.\n\nKey Bindings\n------------\n\nCopy these to your user key bindings file.\n\n\u003c!-- keybindings start --\u003e\n    { \"keys\": [\"ctrl+shift+d\"], \"command\": \"file_diff_menu\" },\n    { \"keys\": [\"ctrl+shift+e\"], \"command\": \"file_diff_menu\", \"args\": {\"cmd\": [\"opendiff\", \"$file1\", \"$file2\"] } },\n\u003c!-- keybindings stop --\u003e\n\nContributors\n------------\n\nThanks to:\n\n- **Sebastian Pape** for adding support for using an external diff tool\n- **Starli0n** for merging the ST2 and ST3 branches into one branch,\n- and for adding the \"Diff file with previous\" feature\n- **dnsmkl** for helping with diffing temporary files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinta%2FSublimeFileDiffs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinta%2FSublimeFileDiffs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinta%2FSublimeFileDiffs/lists"}