ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vlt

by tomalec ST2

(CQ) VLT integration for Sublime Text 2.

Details

  • 2013.12.26.11.20.01
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 165
  • Win 70
  • Mac 87
  • Linux 8
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 2 (CQ) VLT Plugin

It's a plugin that integrates Sublime with Adobe CRX/CQ content. It makes every-day work way much faster as you can ctrl+s in Sublime and F5 at your CQ page, without time-consuming builds, deploys, or lunching heavy CRXDE.

List of supported commands:

  • add: single file, batch, interactive add
  • status: colorful, interactive with diff, single file, batch, entire folder/repo
  • commit: single file, batch, entire folder/repo
  • update: single file, batch, entire folder/repo
  • remove: single file, batch, entire folder
  • revert: files interactively
  • resolve: single file
  • rename - it's not a VLT command, but plugin does copy+add+remove

Maintained by Tomek Wytrębowicz.

Available at https://github.com/tomalec/Sublime-Text-2-Vlt-Plugin

Usage

All you need is already checked out repo.

vlt --credentials admin:admin co http://localhost:4502/crx/-/jcr:root/apps/myApp .

All commands should work for all files under your repo root directory.

add

  • By default it should try to auto-add file on save,
  • ctrl+shift+p -> vlt: Add - adds currently opened file,
  • ctrl+shift+p -> vlt: Add... - opens panel with (filtered) files and folder from entire repo, to be added interactively,
  • right click on side menu -> vlt -> add (& commit) - adds (& commits) selected files and folders, prints detailed output in new tab

Add file demo Interactive add demo Add from side bar demo

commit

  • By default it should try to auto-commit file on save,
  • ctrl+shift+p -> vlt: Commit - adds currently opened file,
  • right click on side menu -> vlt -> commit - commits selected items, prints detailed output in new tab.

Auto-commit demo

status

  • ctrl+shift+p -> vlt: Status - opens panel with vlt status results for entire repo, where you can open new/conflicted files, or diff for modified ones,
  • right click on side menu -> vlt -> add status - opens new tab with vlt status results for selected items.

Status demo

update

  • ctrl+shift+p -> vlt: Update - updates currently opened file,
  • ctrl+shift+p -> vlt: Update All - updates entire repo,
  • ctrl+shift+p -> vlt: (Repo) Force Update All - updates entire repo with --force,
  • right click on side menu -> vlt -> add update - updates selected items, prints detailed output in new tab.

Update file demo Update all demo

remove

  • ctrl+shift+p -> vlt: Remove - updates currently opened file,
  • right click on side menu -> vlt -> add remove (& commit) - removes (& commits) selected items, prints detailed output in new tab.

revert

  • ctrl+shift+p -> vlt: Revert... - opens panel with modified files, that could be reverted.

resolve

  • ctrl+shift+p -> vlt: Resolve - marks currently opened file as resolved, so it could be committed afterwards

Resolve demo

rename

  • ctrl+shift+p -> vlt: Rename... - prompts for new name, performs file-system copy, vlt add new, vlt commit new, vlt remove old.

Rename demo

Settings

Key Default Description
vlt_auto_commit true If set to true, ctrl+s will automatically calls commit.
vlt_auto_add true If set to true, ctrl+s in new file will automatically call add, and commit.
vlt_command false Path to vlt binary (if not in PATH). Use ^ to escape spaces and ().

License

MIT License © Tomek Wytrebowicz