mupchrch / Split Diff
Licence: mit
Side-by-side file compare for the Atom text editor.
Stars: ✭ 188
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Split Diff
Vuejs Snippets
Collection of Vuejs 2.0+ snippets
Stars: ✭ 17 (-90.96%)
Mutual labels: atom, atom-package
Atom Project Manager
Project manager for the Atom editor
Stars: ✭ 519 (+176.06%)
Mutual labels: atom, atom-package
Git Blame
Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.
Stars: ✭ 96 (-48.94%)
Mutual labels: atom, atom-package
Prettier Atom
An atom package for the prettier formatter.
Stars: ✭ 750 (+298.94%)
Mutual labels: atom, atom-package
Color Indent
Use colors to show in a non intrusive manner different indentation levels.
Stars: ✭ 11 (-94.15%)
Mutual labels: atom, atom-package
Atom File Types
Specify additional file types for languages.
Stars: ✭ 54 (-71.28%)
Mutual labels: atom, atom-package
Go Signature Statusbar
Display the signature of the current Go function under the cursor in the status bar of Atom
Stars: ✭ 44 (-76.6%)
Mutual labels: atom, atom-package
Md Writer
✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers
Stars: ✭ 326 (+73.4%)
Mutual labels: atom, atom-package
Atom Terminal Tab
Simple terminal for the Atom text editor.
Stars: ✭ 134 (-28.72%)
Mutual labels: atom, atom-package
Markdown Preview Enhanced
One of the 'BEST' markdown preview extensions for Atom editor!
Stars: ✭ 3,478 (+1750%)
Mutual labels: atom, atom-package
Mighty React Snippets
Crafty React & Redux snippets for Atom Editor
Stars: ✭ 16 (-91.49%)
Mutual labels: atom, atom-package
save-workspace-atom-plugin
If you work with few projects same time this plugin give you the opportunity to change your workspace faster. Save your workspace, all your opened tabs, cursor position, etc. for each task you are working with.
Stars: ✭ 24 (-87.23%)
Mutual labels: atom, atom-package
atom-ide-crystal
Crystal IDE package for Atom using the Scry Language Server
Stars: ✭ 24 (-87.23%)
Mutual labels: atom, atom-package
coeditor
Yet Another Pair Programming Package for Atom.
Stars: ✭ 27 (-85.64%)
Mutual labels: atom, atom-package
Markdown Themeable Pdf
ARCHIVED. NOT MAINTAINED. Themeable Markdown Converter (Print to PDF, HTML, JPEG or PNG)
Stars: ✭ 130 (-30.85%)
Mutual labels: atom, atom-package
split-diff
Diffs text between two split panes. New panes are created if less than two panes exist upon run of the package.
** Supports diffing recent git changes! **
Minimap Plugin
Get the split-diff minimap plugin to make it easier to spot differences.
Usage
Commands
You can call any of these commands from your own custom keybinding, simply override the command in your keymap.cson!
Command | Effect | Default Keymaps |
---|---|---|
Toggle split-diff:toggle
|
Toggles a diff of the text between two side-by-side panes. Creates panes as necessary. Displays git changes if there is a repository found. |
ctrl-alt-t ,ctrl-alt-d (linux) |
Enable split-diff:enable
|
Enables a diff of the text between two side-by-side panes. Creates panes as necessary. Displays git changes if there is a repository found. | ... |
Disable split-diff:disable
|
Disables a diff. Removes any panes that were created by this package. | ... |
Set Ignore Whitespace split-diff:set-ignore-whitespace
|
Toggles the Ignore Whitespace setting. | ... |
Set Auto Diff split-diff:set-auto-diff
|
Toggles the Auto Diff setting. | ... |
Move to Next Diff split-diff:next-diff
|
Highlights the next difference. Moves the cursor so it can be easily copied. | ctrl-alt-n |
Move to Previous Diff split-diff:prev-diff
|
Highlights the previous difference. Moves the cursor so it can be easily copied. | ctrl-alt-p |
Copy to Right split-diff:copy-to-right
|
Copies all differences containing a cursor to the right pane. | ctrl-alt-. |
Copy to Left split-diff:copy-to-left
|
Copies all differences containing a cursor to the left pane. | ctrl-alt-, |
Settings
- Auto Diff - Automatically recalculates the diff when one of the editors changes.
- Show Word Diff - Diffs the words between each line when this box is checked.
- Ignore Whitespace - Will not diff whitespace when this box is checked.
- Mute Notifications - Mutes all warning notifications when this box is checked.
- Remove Soft Wrap - Removes soft wrap during diff - restores when finished.
- Hide Docks - Hides all docks (Tree View, Github, etc) during diff - shows when finished.
- Sync Scrolling - Syncs the scrolling of the editors.
Colors
- Added Color Side - Which editor (left or right) to highlight as added. The opposite editor will be highlighted as removed.
- Override Highlight Colors - Whether to override diff colors derived from the current syntax theme.
- Added Custom Color - The color that will be used when overriding added highlight colors.
- Removed Custom Color - The color that will be used when overriding removed highlight colors.
Service API
Packages can consume the split-diff service to do things like enable a diff between two editors.
/**
* Getter for the marker layers of each editor being diffed.
* @return {Promise} A promise that resolves to an object containing the marker layers.
*/
getMarkerLayers();
/**
* Enables split-diff between the two given editors.
* @param {TextEditor} editor1 - The left editor.
* @param {TextEditor} editor2 - The right editor.
* @param {object} options - Options to override any package setting.
*/
diffEditors(editor1, editor2, options);
/**
* Disables split-diff.
*/
disable();
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].