Live data from Hacker News

Show HN: Sourcetrail – Get productive on unfamiliar source code

sourcetrail.com

91–100 of 119 posts

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#92

Earlier quoted context omitted.

Sourcetrail developer here: Pretty solid. We use clang libTooling.

C# support would be cool too!

Um..you already have this if you have visual studio 2015. https://youtu.be/01MzfE8s6G8?t=54

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#93
post #88
post #61

This looks like an exceptionally useful tool! Thanks for making and sharing it. The video is excellent. It reminds me of a feature I've always wanted, which would be a code unravel-er. Basically I'd like to be able to select a line anywhere in a codebase, and have said codebase expand to show me the entire execution path as if it were in one single scope, with the ability to re-collapse sections back into loops and f…

If you're looking for a similar tool which does have a code unravel-er look at SciTools Understand[1] for C/C++/Java My previous company used Understand on a large unfamiliar codebase, it helped greatly, but was pricey. [1] https://scitools.com/

There's also Source Insight [1] which supports C/C++/Java/Obj-C - quite a fantastic tool, but unfortunately it's Windows only (Wine works with a few hiccups)

[1] https://www.sourceinsight.com/

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#94

Slightly tangential.. a code editor was showcased on HN few years back, with context sensitive "panes".. for example currently selected function/variable declarations in another pane. Very impressive stuff, but can't seem to find it anywhere now.

Visual Studio 2013 and lower had the Code Definition window, which sounds very similar to what you are describing. It was replaced by the (possibly inferior) inline Code Peek feature in VS15.

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#95
post #61

This looks like an exceptionally useful tool! Thanks for making and sharing it. The video is excellent. It reminds me of a feature I've always wanted, which would be a code unravel-er. Basically I'd like to be able to select a line anywhere in a codebase, and have said codebase expand to show me the entire execution path as if it were in one single scope, with the ability to re-collapse sections back into loops and f…

I am playing around with an idea like this for editing Clojure in Emacs with cider-mode. You have to manually build the 'thread' that such a code unravel-er would return, but then you can read and edit functions from many files in one buffer. You start with the highest-level function you are interested in, and then pull the definitions of functions it calls into view as needed.

https://github.com/fazzone/multifiles.el/tree/cider-hacks

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#96
post #93
post #88

Earlier quoted context omitted.

If you're looking for a similar tool which does have a code unravel-er look at SciTools Understand[1] for C/C++/Java My previous company used Understand on a large unfamiliar codebase, it helped greatly, but was pricey. [1] https://scitools.com/

There's also Source Insight [1] which supports C/C++/Java/Obj-C - quite a fantastic tool, but unfortunately it's Windows only (Wine works with a few hiccups) [1] https://www.sourceinsight.com/

Wait a second, a tool that supports going through Obj-C is Windows only? That’s .. a shame.

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#97
post #94

Slightly tangential.. a code editor was showcased on HN few years back, with context sensitive "panes".. for example currently selected function/variable declarations in another pane. Very impressive stuff, but can't seem to find it anywhere now.

Visual Studio 2013 and lower had the Code Definition window, which sounds very similar to what you are describing. It was replaced by the (possibly inferior) inline Code Peek feature in VS15.

It was most definitely not Visual Studio, it was from some startup. But thanks anyway!

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#98
post #40

Earlier quoted context omitted.

Compile commands ? Please Yes?

What are compile commands?

A Compile Command is a JSON file entry that specifies what the C/C++ compiler should do when compiling a file. So it defines a file to compile and all the required flags (like include paths or preprocessor defines). These Compile Commands are used for all kind of Clang based tools. You can read more here: https://clang.llvm.org/docs/JSONCompilationDatabase.html

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#99
post #57

Earlier quoted context omitted.

This may be a result of your feedback, but for me looking just now it it front and center: "Sourcetrail - A cross platform source explorer for C/C++ and Java"

Haha there it is. Who said whining on HN doesn't change the world.

That honor goes to melling: >Some guy whining on HN about a first generation product adds zero value.

https://news.ycombinator.com/item?id=9500455

Re: Show HN: Sourcetrail – Get productive on unfamiliar source code

#100
post #63
post #57

Earlier quoted context omitted.

This may be a result of your feedback, but for me looking just now it it front and center: "Sourcetrail - A cross platform source explorer for C/C++ and Java"

Although physically front and center, the fact that that line is nearly the smallest thing on the page caused me to gloss over it entirely my first time through.

I didn't see it either. Was about to ask if it'll work for Rails projects haha
Post reply on HN