• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

ide-cquery

C/C++ language support for Atom-IDE
  • #c++
  • #c
  • #ide
  • #cquery
  • #lsp
rianneogi
0.11.0 816
8
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ide-cquery

Package Version Package Downloads

Readme Pic

Provides C and C++ language support for Atom using Cquery language server

About

This is an Atom package that connects the atom-ide-ui package to cquery. cquery is a highly-scalable, low-latency language server for C/C++/Objective-C.

This plugin provides ide-like features for C/C++ and Objective C, including Code Completion, Diagnostics, Find References etc.

All contributions and feedback are appreciated.

Features

Code Completion

Diagnostics

Find References

Code Highlight

Definitions

Hyperclick

Datatips

Signature Helper

Outline

Project Setup

To specify include directories and other clang options, a compile_commands.json file on your project root directory will suffice.

If you can't create a compile_commands.json file, you can alternatively add a file named .cquery to your project root directory.

Each argument in that file is separated by a newline. Lines starting with # are skipped. The first line can optionally be the path to the intended compiler, which can help if the standard library paths are relative to the binary. Here's an example:

# Driver
/usr/bin/clang++-4.0

# Language
-xc++
-std=c++11

# Includes
-I/work/cquery/third_party

Requirements

  • Atom 1.21-beta
  • atom-ide-ui atom plugin
  • clang
  • cquery Language Server

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by