Homec4science

Display links to editor in Differential and Diffusion

Authored by vrana <jakubv@fb.com> on Jan 16 2012, 20:08.

Description

Display links to editor in Differential and Diffusion

Summary:
It is possible to open a file in editor by registering a custom URI scheme
(pseudo-protocol). Some editors register it by default.
Having links to open the file in external editor is productivity booster
although it is a little bit harder to set up.
There are several other tools using file_link_format configuration directive
(XDebug, Symfony) to bind to this protocol.
I've added the example with editor: protocol which can be used as a proxy to
actual editor (used by Nette Framework:
http://wiki.nette.org/en/howto-editor-link).

Test Plan:
Configure Editor Link in User Preferences.
Register URI scheme in OS.
Open a file in Diffusion. Click on the Edit button.
Open a revision in Differential. Click on the Edit button.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1422

Details

Committed
vrana <jakubv@fb.com>Jan 24 2012, 19:42
Pushed
aubortJan 31 2017, 17:16
Parents
rPH79218b6e470d: Factor out DifferentialDiffTableOfContentsView::renderChangesetLink()
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPH067c7f8a74d1: Display links to editor in Differential and Diffusion (authored by vrana <jakubv@fb.com>).Jan 24 2012, 19:42