Git Product home page Git Product logo

intellij-cmdline-vcs-plugin's Introduction

This is not an official Google product.

Command-line "VCS" plugin for IntelliJ IDEA

Makes calls to shell scripts to get all VCS-related job done. This allows you to write scripts to acoomodate even the strangiest VCS workflows you may encounter.

Command line script

Should be placed into "/usr/local/bin/cmdline-vcs" and be executable.

List of commands called from IntelliJ:

  • cmdline-vcs get-vcs-root $directory$ is called from $directory$ and expects one line output: VCS root corresponding to this directory. For example for git it would output path to the directory where .git is located.
  • cmdline-vcs list-changed-files $directory$ is called from $directory$ associated with VCS root. Expects multi-line output, one file per line in the next format: $filename$;revision$ Where $revision$ is a revision of a file you'll see a diff in IntelliJ against. It should uniquely identify file contents and is used for caching. One special value is NULL which is used for files that were just added and are not yet present in the VCS. For example for git you can use file's checksum or currently checked out revision.
  • cmdline-vcs get-base-file-contents $filename$ $revision$ is called from a directory of this file and expects file contents as an output. File ane revision used were previously returned by list-changed-files. Result is cached.

intellij-cmdline-vcs-plugin's People

Contributors

timofeyb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.