🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

gitlab-ci-ls

Package Overview
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-ci-ls

Gitlab CI Language Server

OpenVSX
Version
1.0.0
Version published
Maintainers
0
Source

GitLab CI Language Server (gitlab-ci-ls)

Disclaimer

This is an independent project and not an official GitLab product. It is intended to be used alongside yaml-language-server (yamlls), providing specialized support for GitLab CI files without replacing yamlls.

Features

  • Go To Definition: Navigate to definitions of jobs, includes, variables, needs, extends, components, stages and variables.
  • Find References: Find all usages of jobs, extends and stages.
  • Autocompletion: Suggestions for extends, stages, needs, variables, included projects files and components.
  • Hover Information: View documentation for job with merged definitions.
  • Diagnostics: Identifies issues with extends references, stage definitions, job needs usage and components.
  • Rename: Supports job renaming.

It also supports jump to included files. In case it is a remote file it tries to downloading using current workspace git setup and caches it locally.

Showcase

Note that this video doesn't include all functionalities.

Watch the video

Configuration

Initialization options:

  • cache: location for cached remote files
  • log_path: location for LS log

Installation

  • GitHub Releases: Download from the GitHub releases page.
  • Homebrew (macOS): brew install alesbrelih/gitlab-ci-ls/gitlab-ci-ls
  • Cargo (Rust Package Manager): cargo install gitlab-ci-ls
  • Mason (neovim): Github

Build from source

cargo build --release

Executable can then be found at target/release/gitlab-ci-ls

Integration with VSCode

Extension can be found here.

This extension supports configuration which needs to be set up because gitlab-ci-ls itself isn't installed along with the extension but it needs to be downloaded from releases, brew or built from source.

vscode settings

Keywords

gitlab language server

FAQs

Package last updated on 15 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts