vs-sourcetrail icon indicating copy to clipboard operation
vs-sourcetrail copied to clipboard

Sourcetrail Create compilation database grey out

Open ronggong opened this issue 4 years ago • 8 comments

The Create compilation database grey out and the solution has not built internally by VS studio but by https://scons.org/ and vcvarsall.bat tool.

ronggong avatar Apr 06 '20 20:04 ronggong

I have the same issue of the greyed out button but with a normal VS solution.

janosimas avatar Jun 23 '20 12:06 janosimas

I found the doc about this and after enabling the log I got a message saying: No C/C++ project was detected.

But all my projects are C++.

janosimas avatar Jun 23 '20 13:06 janosimas

@janosimas, are you using an older version of the VS extension? A later version should also ask you to check if "Visual Studio is configured to generate a symbol database". Is that option enabled for you?

mlangkabel avatar Jun 23 '20 13:06 mlangkabel

I'm using VS2019 preview and I just installed the extension from the extension manager. I assume it's the latest.

Where should I find this option?

janosimas avatar Jun 23 '20 13:06 janosimas

Tools->Options->Text Editor->C/C++->Advanced->Browsing/Navigation->Disable Database = False

mlangkabel avatar Jun 23 '20 13:06 mlangkabel

It's false

janosimas avatar Jun 23 '20 13:06 janosimas

Can you share your solution file and on of the c++ vs project files? With those I could try to debug the issue. I would NOT need any of your source files or headers.

mlangkabel avatar Sep 01 '20 13:09 mlangkabel

I'll see if I can reproduce in a small project, in a fresh project it worked.

janosimas avatar Sep 01 '20 20:09 janosimas