Skip to main content
SerenityOS can be developed using various terminal-based editors with clangd integration for code comprehension.

Vim Configuration

Vim can be configured with the YouCompleteMe plugin to provide code completion.

Setup

1

Install YouCompleteMe

Follow the installation instructions for your platform.
2

Whitelist Configuration File

Add the following to your .vimrc file:
let g:ycm_extra_conf_globlist = ['~/serenity/.ycm_extra_conf.py']
This whitelists the configuration file included in the SerenityOS repository.

Features

With YouCompleteMe configured, you’ll have:
  • Code completion
  • Jump to definition
  • Error/warning diagnostics
  • Semantic highlighting

Common clangd Configuration

All editors using clangd should configure it according to ClangdConfiguration for optimal SerenityOS development support.

Build docs developers (and LLMs) love