by soinus · 10y ago · 0 comments
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!
I wonder if a Sublime plugin could piggyback Visual Studio generated data. I believe VS now has the ability to compile via clang. Could you let VS manage all compilation and projects and dependencies? Use PDBs or some such to generate sublime intellisense? I've no idea. But something along those lines seems like it would be most likely to work.
Regardless, clang just uses the headers - at least that's the story with clang-autocomplete. It seems to parse them much faster than VS does, so reusing the VS cache me might cause perf impediments.
Originally I wanted to have some lightweight autocompletion for Linux and have added Windows and OSX support because people were trying to use it.
What you say about using VS to manage all compilation and project dependencies sounds really nice and logical, but unfortunately I have no knowledge whatsoever about how VS does this, so I'm not sure I can do this alone. However, I would love to discuss it should anyone have any nice ideas.