Giter Site home page Giter Site logo

jstritch / git-tabular-diff Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1.16 MB

Displays a tabular difference of a csv file or a split difference of any file in an Atom pane.

Home Page: https://atom.io/packages/git-tabular-diff

License: MIT License

JavaScript 93.75% Less 6.25%
compare diff csv data table tabular git atom daff split binary textconv diff2html

git-tabular-diff's Introduction

CI Status

git-tabular-diff

It is difficult to review changes made to csv files using a traditional Git difference. At other times, a Git difference is more meaningful when displayed side-by-side. The git-tabular-diff package provides both tabular and split views for these use cases.

The split view invokes the Git diff machinery, enabling textconv display of binary files when configured. Text files display in the split view without configuration. A split view of a jpg image appears below. To learn about configuring textconv, visit gitattributes[5].

Split view

Settings allow ignoring case and/or white space in the tabular view. The following screen shot shows a tabular view of csv file changes.

Tabular view

To use git-tabular-diff, select a file in the TreeView, Git panel, or the active text editor and invoke either the git-tabular-diff:compare-selected-files or git-tabular-diff:compare-selected-split command. The commands are available from the context menus and bound to the key sequences alt-g alt-d and alt-g ctrl-d by default. A new Atom pane opens displaying the changes between the working tree and the head revision. A pane is only opened if differences are found. If multiple files are selected, the differences appear in a single pane.

Any git-tabular-diff view may be saved to a file with the saveAs ctrl-shift-s command. To open the file later, select the .gtd file in the Atom TreeView and invoke either git-tabular-diff command. A gtd file may be shared with other git-tabular-diff users.

Acknowledgments

Much of the HTML in the views is generated by the daff and diff2html packages.

git-tabular-diff's People

Contributors

jstritch avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

git-tabular-diff's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v3
  • UziTech/action-setup-atom v2
  • actions/setup-node v3
npm
package.json
  • daff ^1.3.47
  • diff2html ^3.4.17
  • uuid ^8.3.2
  • @babel/core ^7.18.2
  • @babel/eslint-parser ^7.18.2
  • @babel/eslint-plugin ^7.17.7
  • @babel/preset-env ^7.18.2
  • @jest-runner/electron ^3.0.1
  • eslint ^8.16.0
  • eslint-plugin-import ^2.26.0
  • eslint-plugin-jsonc ^2.3.0
  • jest ^28.1.0
  • atom >=1.0.0 <2.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.