Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorSecurityConfigOptions.php
Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | return array( | ||||
'subl' => true, | 'subl' => true, | ||||
// Unofficial handler for Emacs. | // Unofficial handler for Emacs. | ||||
'emacs' => true, | 'emacs' => true, | ||||
// This isn't a standard handler installed by an application, but | // This isn't a standard handler installed by an application, but | ||||
// is a reasonable name for a user-installed handler. | // is a reasonable name for a user-installed handler. | ||||
'editor' => true, | 'editor' => true, | ||||
// This handler is for Visual Studio Code. | |||||
'vscode' => true, | |||||
)) | )) | ||||
->setSummary(pht('Whitelists editor protocols for "Open in Editor".')) | ->setSummary(pht('Whitelists editor protocols for "Open in Editor".')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Users can configure a URI pattern to open files in a text '. | 'Users can configure a URI pattern to open files in a text '. | ||||
'editor. The URI must use a protocol on this whitelist.')) | 'editor. The URI must use a protocol on this whitelist.')) | ||||
->setLocked(true), | ->setLocked(true), | ||||
$this->newOption('remarkup.enable-embedded-youtube', 'bool', false) | $this->newOption('remarkup.enable-embedded-youtube', 'bool', false) | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |