@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Support "zed://" to open Zed as External Editor

Summary:
See https://en.wikipedia.org/wiki/Zed_(text_editor) for more information.

This is a copy of trivial downstream https://github.com/mozilla-conduit/phabricator/commit/63bab05b7699ae517bbc1cf71c01022f142fbfa0 by Paul Adenot.

Closes T16153

Test Plan:
* Go to http://phorge.localhost/settings/panel/editor/, check the list under "Supported Editor Protocols".
* Optionally, install Zed and test this. (I did not. I assume that the Mozilla patch would have seen followup changes if this wouldn't work.)

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16153

Differential Revision: https://we.phorge.it/D26142

authored by

Paul Adenot and committed by
Andre Klapper
c5d369a8 c5ccf500

+4
+3
src/applications/config/option/PhabricatorSecurityConfigOptions.php
··· 215 215 216 216 // This is for IntelliJ IDEA. 217 217 'idea' => true, 218 + 219 + // This handler is installed by the Zed Editor 220 + 'zed' => true, 218 221 )) 219 222 ->setSummary(pht('Whitelists editor protocols for "Open in Editor".')) 220 223 ->setDescription(
+1
src/applications/settings/panel/PhabricatorExternalEditorSettingsPanel.php
··· 106 106 'vscode' => pht('Visual Studio Code'), 107 107 'editor' => pht('Generic Editor'), 108 108 'idea' => pht('IntelliJ IDEA'), 109 + 'zed' => pht('Zed'), 109 110 ); 110 111 111 112 $default_label = phutil_tag('em', array(), pht('Supported Protocol'));