Sublime Text 3 plugin for C++ code completion and error highlighting, based on Ycmd server
Simply use Package Control and Install Package YcmdCompletion
.
Direct link to plugin in sublime packages repository.
- Open default settings to see, what options are available. To open default settings, you can use Sublime Text menu:
Preferences > Package Settings > YcmdCompletion > Settings - Default
- To set your personal settings, use User Settings file:
Preferences > Package Settings > YcmdCompletion > Settings - User
- Prepare
Ycmd Server
(clone to your machine and build) as it is described here - Generate your personal HMAC key. It can be done by executing additional command:
Command Palette > Ycmd: Create HMAC keys
It will be automaticaly written down to your plugin's settings. Just copy-n-paste it to settings of ycmd
.
- Run
ycmd
with your settings. You can find this article useful. - Open any
*.cpp
file and try to use auto-completion.
Feel free to email me with any questions about this plugin. Questions with answers are placed here.
Copyright 2014 Pavel Sychev. Licensed under the MIT License