GithubHelp home page GithubHelp logo

blagi / vscode-tortoise-svn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fantacytyx/vscode-tortoise-svn

0.0 0.0 0.0 25 KB

tortoisesvn is a simple extension for VSCode to use TortoiseSVN.

License: MIT License

TypeScript 100.00%

vscode-tortoise-svn's Introduction

#README

tortoise-svn is a simple extension for VSCode to use TortoiseSVN.

Features

tortoise-svn provides commands to open TortoiseSVN window for update, commit, log, revert, cleanup, add, diff, blame, lock and unlock.
tortoise-svn provides dropdown to select TortoiseSVN action.
Alternatively, you can select target file/directory first, then select the action.

Requirements

It runs only on Windows and needs the TortoiseSVN and TortoiseSVN command line tools.

If TortoiseSVN is not installed at C:\\Program Files\\TortoiseSVN\\bin\\TortoiseProc.exe, please specify the correct path by setting property TortoiseSVN.tortoiseSVNProcExePath in user settings.json.

Commands

For the workspace rootPath

  • Workspace: SVN Update : open TortoiseSVN update window
  • Workspace: SVN Commit : open TortoiseSVN commit window
  • Workspace: SVN Log : open TortoiseSVN log window
  • Workspace: SVN Revert : open TortoiseSVN revert window
  • Workspace: SVN Cleanup : open TortoiseSVN cleanup window
  • Workspace: SVN Add : open TortoiseSVN add window
  • Workspace: SVN Diff : open TortoiseSVN diff window
  • Workspace: SVN Lock : open TortoiseSVN lock window
  • Workspace: SVN Unlock : open TortoiseSVN unlock window

For the active file which open in text editor and has focus

  • File: SVN Update : open TortoiseSVN update window
  • File: SVN Commit : open TortoiseSVN commit window
  • File: SVN Log : open TortoiseSVN log window
  • File: SVN Revert : open TortoiseSVN revert window
  • File: SVN Cleanup : open TortoiseSVN cleanup window
  • File: SVN Add : open TortoiseSVN add window
  • File: SVN Blame : open TortoiseSVN Blame window
  • File: SVN Diff : open TortoiseSVN diff window
  • File: SVN Lock : open TortoiseSVN lock window
  • File: SVN Unlock : open TortoiseSVN unlock window

Others

  • SVN ... (Select Action) : show a dropdown to select TortoiseSVN action to execute.

    • Apply to the active file when trigger this command by use explorer context menu.
    • Apply to the select file/directory when trigger this command by use explorer context menu.
    • Apply to the workspace when trigger this command by use command panel(F1/ctrl+shift+p).
  • SVN ... (Select Path) : show a dropdown to select target directory or file, then show a new dropdown to select TortoiseSVN action to execute.

Keybindings

  • alt+s u : "Workspace: SVN Update"
  • alt+s c : "Workspace: SVN Commit"
  • alt+s l : "Workspace: SVN Log"
  • alt+s r : "Workspace: SVN Revert"
  • alt+s d : "Workspace: SVN Diff"
  • alt+s m : "SVN ... (Select Path)"

Extension Settings

This extension contributes the following settings:

  • TortoiseSVN.autoCloseUpdateDialog : enable/disable auto close dialog when no errors, conflicts and merges.
  • TortoiseSVN.tortoiseSVNProcExePath : specify the correct TortoiseProc.exe path. Need restar VSCode.
  • TortoiseSVN.showPath.exclude : specify glob pattern to exclude files and folders. exclude will disable when specify a empty array.

Change Log

Version 0.1.1

  • when user don't set TortoiseSVN.tortoiseSVNProcExePath, get the TortoiseProc.exe path from registry
  • postpone check TortoiseProc.exe path until command execution

Version 0.0.7

  • fix can't revert unsaved changes
  • remove unused package minimatch
  • optimize activationEvents in package.json

Version 0.0.6

  • check TortoiseProc.exe path. If it is invaild will show a hint

Version 0.0.5

  • select path: support setting glob pattern to exclude files
  • select path: improve performance

Version 0.0.4

  • apply command to the select file/directory on explorer by use context menu item SVN ... (Select Action)
  • add new commands for the active file which open in text editor and has focus
  • remove blame command when target is directory
  • modify command name and command title, such as tortoise-svn... --> SVN ... (Select Path)
  • remove menu tortoise-svn log in workspace from explorer/context and editor/context
  • improve keybindings configuration
  • some bug fixed

Version 0.0.3

  • add command tortoise-svn... which can select TortoiseSVN action and target dir or file
  • add menu tortoise-svn... to explorer/context and editor/context
  • add keybindings alt+s m: tortoise-svn...

Version 0.0.2

  • add more menu

Version 0.0.1

  • Initial release

Links

Change log

Source on GitHub

MIT

Enjoy!

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.