vs-sourcetrail
vs-sourcetrail copied to clipboard
Visual Studio Extension to communicate with Sourcetrail and generate a JSON Compilation Database from a Visual Studio Solution
The function export json compilation database is very useful for me. Is there some command line I can use it directly to get the result through this project?
I'm working on a relatively large project and I want to generate a compile_commands.json for it. At some point I was able to (at least I have a compile_commands.json that...
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.
1. In Visual Studio, add a preprocessor definition PROJECT_NAME="$(ProjectName)". 2. Note that the symbol PROJECT_NAME expands to a string literal inside your .cpp code. 3. Extensions -> Sourcetrail -> Create...
1. Put something like this in a VS C++ project ``` struct Foo { float x; }; void main() { static_assert(offsetof(Foo, x) == 0); } ``` 2. Create compilation db...
Reported on reddit: https://www.reddit.com/r/cpp/comments/fsi3o6/sourcetrail_20201_released_visual_source_explorer/fm792je?utm_source=share&utm_medium=web2x
In my first attempts at using [Sourcetrail](https://github.com/CoatiSoftware/Sourcetrail/issues/790#issuecomment-558855305), I was creating the compilation database for the .sln version of git-for-windows direct from it's checkout. This succeeded, but I still had errors...
CreateCompilationDatabase(...) throws a System.ArgumentException: 'The path is not of a legal form.' when trying to generate the compilation database from a VS project. I'm neither a C# nor a VS...
is there any way to speed up it?
I think it would be better to track binaries that way. LFS comes with new repo conversion utilities, but I'm not sure if they require rewriting history. If we did...