Git Product home page Git Product logo

vscode-line-history's Introduction

vscode-line-history

Track uncommitted line changes as you type.

Features

Annotate lines with timestamps in real time. Think about git blame, but without explicit git add or git commit.

Line Timestamp

View previous versions ever typed. Think about fine grained undo history that persists across VSCode restarts, and with blame integrated.

Previous Version

Show all (including deleted) lines in a single view. Think about git diff but instead of comparing two versions, compare all versions together.

All Lines

Import initial file history from Git.

Git History

Usage

Enabling the extension will make it track changes to local files made by the VSCode text editor. When a file get saved, its tracked changes will be written to the extension globalStoragePath specified by VSCode.

Press Ctrl+K L, or right-click the tab title then click "Show Line History" to enter the "Line History" view.

In the "Line History" view: Press [ or ] to check out previous, or next versions. Press d to toggle deleted lines. Those features can also be found as buttons at the right of the tab bar. Press enter to check out the version specified by the selected line.

Settings

This extension contributes the following settings:

  • lineHistory.showLineTimestamp: Enable/disable line timestamp in normal editors. Turning this on might affect performance.
  • lineHistory.importFromGit: Whether to import history from Git on first access to a file.

Release Notes

0.2.0

  • Import history from Git (optionally).

0.1.0

  • Initial Release.

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.