Hacker News new | ask | show | jobs
by forrestthewoods 3678 days ago
I very much want something like this. I'm skeptical as to how useful it will be on large projects. Every project I've ever worked in Visual Studio intelligence has eventually died. I have no hope this would work. But oh how I wish it to be true! :)

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.

2 comments

We've got some pretty hairy legacy C++ and all versions of VS prior to 2015 fell over it. 2015 handles it just fine, it's worth trying again.

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.

I can confirm that clang just uses headers, no linking involved. No project either. Only the headers you include in your file. So it should not compile a lot unless you have a file that includes the whole project, which is probably not the case.
I'm currently on a unity project but I'm sure at some point I'll work with UE4. I very much look forward to seeing how it performs.
Please let me know when you know more. I am also interested.
It is hard for me to compare. Last time I opened Visual Studio was like 5 years ago. This plugin would actually not try to compete with VS, as this thing is a monster and this plugin is a hobby project. :)

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.

I definitely intend to give your plugin s shot. My fear is that C++ is to hairy fora hobby project. But my fingers are crossed!
Yes, do it! Shoot me an issue should something go wrong! :) I hope with the help of clang this will be manageable :)