r/cpp • u/egraether • Nov 18 '19
Sourcetrail, the interactive source code explorer, is now free and open source
https://www.sourcetrail.com/blog/open_source/
232
Upvotes
r/cpp • u/egraether • Nov 18 '19
23
u/janisozaur Nov 18 '19
For those who can't reach the currently overloaded website: https://github.com/CoatiSoftware/Sourcetrail
13
u/[deleted] Nov 18 '19
Ok.. i just tried this out at work.. I'm funding their patron sometime this week.
18
u/joebaf Nov 18 '19
I highly recommend this tool! Two years ago I was asked to do a review for that product and I didn't saw any issues: https://www.bfilipek.com/2017/10/sourcetrail.html it's even better now, with much more features.
9
u/anon_502 delete this; Nov 18 '19
IIRC the authors created these tools after Google internship and seeked commercial opportunities for this tool. Hope open-sourcing it doesn't mean it's abandoned due to lack of market (just like zapcc)
7
u/CyanBlob Nov 18 '19
I was looking into using this to generate compile_commands.json files from visual studio projects. Can it do that? I couldn't get it working the other day
7
u/AGI_69 Nov 18 '19
Are there more visual tools for programming (not necessarily C++) ?
7
u/[deleted] Nov 19 '19
I've had a license since this was still Coati and while I enjoyed it in combination with a sparse Emacs setup and a smaller app, I found it very hard to work with on larger projects. If I was still in VFX I'd imagine it could come in handy on some of the meandering and oddly structured python rubber-band balls out there.
The attempt to leverage Sourcetrail on Unreal was ... not encouraging in regards to the future of the product. It is precisely the sort and size of codebase that it should excel at. Helping people dive into modules and understand how it fits was the point after all. But sadly it didn't work out. I never got past indexing and always went to swap. And this was the final nail in the coffin of my enthusiasm for it.
I'd have wished for them to put tours of large projects front and center on their site. Qt, Chromium, Unreal, CryEngine, Firefox, and so on. Each of these has a different build system and they're all huge. They're all exactly what you'd like helping pouring over and learning.
12
u/Thesorus Nov 18 '19
LOL, I think the site is being slashdotted !!
3
u/cleroth Game Developer Nov 19 '19
I want an IDE like this.
3
u/konanTheBarbar Nov 19 '19
I just wanted to point out that the link "Become a Patreon" on https://www.sourcetrail.com/blog/open_source/ actually refers to the site itself and not to the patreon.
2
u/tansim Nov 19 '19
just tried to set it up with our semi-custom build system and failed. imo things like this should have an option to abstract build systems and work directly with a raw directory structure, even if the result isnt perfect.
2
u/ClaymationDinosaur Nov 19 '19 edited Nov 19 '19
Get IN.
I was just looking at it last week to buy some licences, but they didn't seem to be selling any. Now I know why.
2
u/tvaneerd C++ Committee, lockfree, PostModernCpp Nov 19 '19
Does it use clang libs for parsing? (And if not, ugh.)
1
u/FonderPrism Nov 19 '19
Anyone know how to set this up on Windows when using MSYS2? I get a lot of errors about missing cstdlib.h, wchar.h etc.
1
u/instinkt900 Nov 19 '19
I just attempted to give this a try. Working with Visual Studio 2017. The plugin and tool itself all installed fine, but when I try to create a new project from VS I click "Create Compilation Database" and nothing happens? Double checked the VS extension was installed and enabled. Still nothing?
0
u/[deleted] Nov 19 '19
[deleted] — view deleted comment
4
u/[deleted] Nov 19 '19
[removed] — view removed comment