

Please note: this is based on OS-X setup. Helper = /usr/local/bin/aws -profile codecommit-user codecommit credential-helper = trueĪfter saving the config file should look something like this: įetch = +refs/heads/*:refs/remotes/origin/*
#SOURCETREE LINUX FOR MAC#
If you have any questions or found any error, please let me know! I’m cirowrc on Twitter.Atlassian SourceTree is a visual tool for Mac and Windows to manage source code repositories. net/socket.c) and check the autocompletion working! You can also check how “jump to” declarations and definitions also work.Įxample of YouCompleteMe autocompleting a kernel struct. If you have remote repositories, you'll want a copy of. If you want to add remote repositories, you need to connect to your hosting. Connect your Bitbucket or Github account. Step-by-step instructions for installation.
#SOURCETREE LINUX INSTALL#
name : 'install ycm' command : './install.py -go-completer -clang-completer' environment : PATH : " Install and set up Sourcetree Install Sourcetree.

#SOURCETREE LINUX HOW TO#
The first thing to do is getting YCM ready.Īs I’m constantly doing some experiments in AWS and from time to time running a VM here and there, I automated the process using Ansible and Packer (with Ansible I describe how to get to the desired state, with Packer I build a base image) - check out cirocosta/mylinux.īelow is how the YouCompleteMe part of it looks like: It lets you navigate through the code providing links to definitions and making you go back in time to previous versions of the source - it’s great! Here I focus on navigating the Kernel source using VIM and a terminal though.Ĭheck out how to tailor a YouCompleteMe configuration that suits the Linux kernel source code. Ps.: for a browser experience, bootlin is AMAZING.

Since I’ve been using YouCompleteMe for a reasonable amount of time, and that I love how simple it is to configure it, why not give a try to using it for inspecting the Linux kernel?Įxample of YouCompleteMe searching available functions. These days I’ve been doing some research that involves looking at the Linux kernel to figure things out.

Navigating the Linux Kernel source tree with YouCompleteMe | OpsTips Navigating the Linux Kernel source tree with YouCompleteMe Check out how to configure YouCompleteMe to have auto completion and source code navigation capabilities for the Linux source code.
