Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

njlr/buck-ycm-example

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buck-ycm-example

Example showing how to connect Buck with the YouCompleteMe plugin for Vim.

This project depends on the Eigen Buckaroo package to demonstrate code-completion for packages.

Usage

buckaroo install
buck build //:app#compilation-database --out compile_commands.json
vim ./src/main.cpp

How it Works

To generate the compile_commands.json file, use the compilation-database flavor:

buck build //:app#compilation-database --out compile_commands.json

The extra flag --out compile_commands.json will tell Buck to copy the database to compile_commands.json.

YouCompleteMe will discover this file automatically.

You should add it your .gitignore since it is a build artefact.

About

Example showing how to connect Buck with YouCompleteMe for Vim ✨

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.