This package provides an integration of the ccls C++ language server with Atom's languageclient.
First, download and build ccls.
Then, you need to install both this package (ide-ccls
) and the base Atom IDE UI package (atom-ide-ui
). You can either install them from the Atom GUI, or from the command line:
apm install atom-ide-ui ide-ccls
Once you finish these two steps, if your ccls
binary is available on your PATH
, you should be good to go. Otherwise, just go into ide-ccls
's settings panel, and fill in the full path to your ccls
binary.
ide-ccls
exposes the following features powered by ccls and Atom IDE UI:
ide-ccls
provides diagnostic and auto-completion information from ccls as you type.
Use hyper-click (Command+Click on macOS, Control+Click on Linux/Windows) to go to declarations/definitions.
Hovering on top of variables and functions shows their types/signatures. You can also pin a signature panel for easy access.
- Semantic highlighting: Provides richer syntax highlighting based on program semantic (e.g. gives different colors to local variables, function parameters, and data members in a member function body). Note: This feature is disabled by default. To use it, enable it in the package's settings panel.