An atom integration of clang-expand.
Enables:
atom-clang-expand:expand
: Expands the function under the cursor (see above).atom-clang-expand:unexpand
: Unexpands an expansion.atom-clang-expand:unexpand-all
: Unexpands all expansions in the current file.atom-clang-expand:go-to-declaration
: Goes to the declaration of the function under the cursor.atom-clang-expand:go-to-definition
: Goes to the definition of the function under the cursor.atom-clang-expand:show-declaration
: Displays the declaration of the function under the cursor in a widget.atom-clang-expand:show-definition
: Displays the definition of the function under the cursor in a widget.This package will watch out for a .clang-expand
file at the root of your
project, in YAML format, with the following schema:
---sources: Single glob pattern- Or list of glob patterns- to find source files,- absolute or relative to the project root, e.g.:- src/**/*.cpp- Note that the root is always searched.extra:- List of flags- to pass to the compiler- to compile your source files, e.g.:- -I/path/to/headers- -std=c++14...
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.