Show HN: Yet another Sublime Text plugin for C++ completion

by soinuson 5/28/2016, 7:31 AMwith 14 comments

by soinuson 5/28/2016, 7:32 AM

Hello HN, I couldn't find any plugin for Sublime Text that would autocomplete C++ code and would be easy to setup, so I have written one. It is not fully polished, but works for me and a bunch of people, so I thought it was a good idea to expose it here.

The reason I post it here is two-fold.

First, I wrote it to make it useful, so I wanted to test it in real world,

Second, I tried to use libclang for autocompletion, but it works only for Linux currently. OSX and Windows for now resort to parsing the output from `clang -code-complete-at` command envoked in a subprocess. I would really love to make the plugin use libclang everywhere. So I would really like to get some help from people who are more familiar with OSX or Windows than I am and to generally spawn discussions on design desicions taken by me in this plugin.

Hope you guys like it. I am open to discussions and to your suggestions!

by ensiferumon 5/28/2016, 11:00 AM

There's also SublimeClang for SublimeText2. The most active fork as of late is https://github.com/ensisoft/SublimeClang

by educaron 5/28/2016, 8:41 AM

Have you seen this for indexing ? https://github.com/Andersbakken/rtags