How to add, enable or disable an experimental feature
This document will take you through how to add, enable, or disable an experimental feature in Sourcegraph. Experimental features are not fully released, but we welcome your feedback at [email protected] or on twitter @sourcegraph!
Prerequisites
- This document assumes that Sourcegraph is installed
- Assumes you have site-admin privileges on the instance
Steps to enable/disable
- Navigate to Site Admin > Global settings in the UI, or follow this link format for your
externalUrl/site-admin/global-settings
- Scroll down to find where
experimentalFeatures
is located. Example:
"experimentalFeatures": { "searchStreaming": true, "showSearchContext": false, },
- Locate the feature you would like to disable or enable, setting
true
for enable orfalse
for disable. - If adding a feature, follow the format
"featureName": true,
- After changing the values in Site admin > Global settings, the frontend will either restart automatically or you might be asked to restart the frontend for the changes to take effect.
- For more information, see Editing global settings for site-admins
Further resources
- Sourcegraph - Configuration Settings
- Sourcegraph - Site configuration
- Learn more about new experimental features on our Blog or Twitter @sourcegraph