Configure Editor Extensions
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Configure Editor Extensions settings for your GitLab instance.
Require a minimum language server version
On GitLab Self-Managed, by default this feature is not available. To make it available, an administrator can enable the feature flag named enforce_language_server_version
.
On GitLab.com, this feature is available but can be configured by GitLab.com administrators only.
On GitLab Dedicated, this feature is available.
By default, any GitLab Language Server version can connect to your GitLab instance when personal access tokens are enabled. To block requests from clients on older versions, configure a minimum language server version. Clients older than the minimum allowed Language Server version receive an API error.
Prerequisites:
You must be an administrator.
# For a specific user Feature.enable(:enforce_language_server_version, User.find(1)) # For this GitLab instance Feature.enable(:enforce_language_server_version)
To enforce a minimum GitLab Language Server version:
- On the left sidebar, at the bottom, select Admin.
- On the left sidebar, select Settings > General.
- Expand Editor Extensions.
- Check Language Server restrictions enabled.
- Under Minimum GitLab Language Server client version, enter a valid GitLab Language Server version.
To allow any GitLab Language Server clients:
- On the left sidebar, at the bottom, select Admin.
- On the left sidebar, select Settings > General.
- Expand Editor Extensions.
- Uncheck Language Server restrictions enabled.
- Under Minimum GitLab Language Server client version, enter a valid GitLab Language Server version.
Allowing all requests is not recommended. It can cause incompatibility if your GitLab version is ahead of your extension version. You should update your extensions to receive the latest feature improvements, bug fixes, and security fixes.