Add support for cmake-language-server

Open
#4,946 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
vim
Domain
tooling

Research direction

Review ALE's existing handling of CMake files and its interaction with cmake-format, then compare that behavior with the cmake-language-server features listed in the issue. Done means ALE provides a considered integration for the requested command completion and hover documentation without losing existing formatting support.

Written by the indexing model from the issue text.

Description

new tool

Name: cmake-language-server
URL: https://pypi.org/project/cmake-language-server/

This language server for CMake files comes with the following features (quoted from its own description):

  • Builtin command completion
  • Documentation for commands and variables on hover
  • Formatting (by cmake-format)

I.e. not much in addition to what ale already handles by interacting with cmake-format by itself. At least not enough for me to bother even attempting to use it. Still filing an issue, in case someone else might have a greater desire for command completion, or if the language server becomes more competent in the future.

Dominant language
Vim Script
Stars
14k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dense-analysis/ale

All issues in dense-analysis/ale

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.