1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Add "idea://" to the upstream editor whitelist

Summary: This supports the IntelliJ IDEA editor.

Test Plan:
  - Looked at the editor settings panel, saw "idea://".
  - Set my editor pattern to "idea://a?b".
  - (Did not actually install IntelliJ IDEA.)

Differential Revision: https://secure.phabricator.com/D21206
This commit is contained in:
epriestley 2020-05-01 12:51:34 -07:00
parent 1205070687
commit b89e6c0fa9
2 changed files with 4 additions and 0 deletions

View file

@ -213,6 +213,9 @@ EOTEXT
// This handler is for Visual Studio Code. // This handler is for Visual Studio Code.
'vscode' => true, 'vscode' => true,
// This is for IntelliJ IDEA.
'idea' => true,
)) ))
->setSummary(pht('Whitelists editor protocols for "Open in Editor".')) ->setSummary(pht('Whitelists editor protocols for "Open in Editor".'))
->setDescription( ->setDescription(

View file

@ -105,6 +105,7 @@ final class PhabricatorExternalEditorSettingsPanel
'emacs' => pht('Emacs'), 'emacs' => pht('Emacs'),
'vscode' => pht('Visual Studio Code'), 'vscode' => pht('Visual Studio Code'),
'editor' => pht('Generic Editor'), 'editor' => pht('Generic Editor'),
'idea' => pht('IntelliJ IDEA'),
); );
$default_label = phutil_tag('em', array(), pht('Supported Protocol')); $default_label = phutil_tag('em', array(), pht('Supported Protocol'));