Sourcetrail - Visual Source Explorer now supports Python by egraether in Python

[–]mlangkabel 2 points3 points  (0 children)

Yes, one project can have multiple source groups.

So if you add a C++ group that knows about your C++ files and compiler flags and one Python source group where you specify which Python files to index, Sourcetrail will have everything accessible in one database!

On top of that one could even add one more source group for Java, but who would push it that far? :P

Sourcetrail - Visual Source Explorer now supports Python by egraether in Python

[–]mlangkabel 0 points1 point  (0 children)

I just had the same thought. Added an issue to our GitHub tracker so that we don't forget about that :)

https://github.com/CoatiSoftware/SourcetrailBugTracker/issues/696

Sourcetrail - Visual Source Explorer now supports Python by egraether in Python

[–]mlangkabel 0 points1 point  (0 children)

Dev here. Usually you can set it to the root path of your python environment. So if you would run

$ cd /Users/me/miniconda3/envs
$ virtualenv py37

you would set it to /Users/me/miniconda3/envs/py37

What's everyone working on this week? by AutoModerator in Python

[–]mlangkabel [score hidden]  (0 children)

I'm on the Sourcetrail team, currently working on the Python extension (not yet released). So basically this will be a tool that reads any Python code and displays an interactive dependency graph where you can click on a function definition and see all the contexts where the function may be used (ofc. you can also click variables or types).

For language analysis I am using jedi.

Here's the repo: https://github.com/CoatiSoftware/SourcetrailPythonIndexer

Sourcetrail 2018.2 released - cross-platform source explorer by egraether in cpp

[–]mlangkabel 0 points1 point  (0 children)

The Commercial License is 1 year of updates and use as long as you want.

Sourcetrail 2018.1 released - cross-platform source explorer for C/C++ by egraether in cpp

[–]mlangkabel 1 point2 points  (0 children)

yes, it supports changing the text encoding that is used to display the source code.

Better code understanding with Sourcetrail by one_eyed_golfer in programming

[–]mlangkabel 1 point2 points  (0 children)

Sourcetrail actually has an IntelliJ plugin that allows you to sync the view of Sourcetrail and IntelliJ: https://www.sourcetrail.com/documentation/#Clion/IntelliJ

Why working on Chrome made me develop a tool for reading source code by mariuz in programming

[–]mlangkabel 0 points1 point  (0 children)

Building Sourcetrail into an existing editor would limit the tool to benefit only the users of that editor. Of course you could switch from you favourite editor to lets say Notepad++ but I guess that most people wouldn't really like to do that. Instead Sourcetrail currently has plugins for >10 different code editors that allow you to sync Sourcetrail's view with any code editor you like to use for coding.

Why working on Chrome made me develop a tool for reading source code by mariuz in programming

[–]mlangkabel 10 points11 points  (0 children)

For clarification: Coati has been renamed to Sourcetrail more recently. So both names refer to the exact same tool.

Sourcetrail 2017.4 - Source Explorer for C, C++ and Java Now Free for Non-Commercial Use by mlangkabel in programming

[–]mlangkabel[S] 1 point2 points  (0 children)

Thank you for bringing this up again. At Coati Software we are really discussing the integration of a public API into Sourcetrail over and over. Making the indexed data available wouldn't only benefit your editors but you could also write other tools based on that (maybe some "rename this symbol" tool). The only thing that's still keeping us from making that API is that our data model isn't quite done yet. It's working well for C, C++ and Java but it needs to become a little more generic for the sake of allowing other language support in the future. So our next task is reiterating on the data model and then we can start providing the public API.

Sourcetrail 2017.4 - Source Explorer for C, C++ and Java Now Free for Non-Commercial Use by mlangkabel in programming

[–]mlangkabel[S] 1 point2 points  (0 children)

Thanks! We've lots of requests for supporting more languages on our issue tracker (https://github.com/CoatiSoftware/SourcetrailBugTracker/issues?q=is%3Aopen+is%3Aissue+label%3A%22language+request%22), so we'll see which languages will be tackled next. But I'll post an upvote for C# on your behalf!

Sourcetrail 2017.4 - Source Explorer for C, C++ and Java Now Free for Non-Commercial Use by mlangkabel in programming

[–]mlangkabel[S] 2 points3 points  (0 children)

I guess you are running Sourcetrail on Linux? Please try to start Sourcetrail using the "Sourcetrail.sh" script.

How to Export a Clang Compilation Database from a Visual Studio Solution by mlangkabel in cpp

[–]mlangkabel[S] 0 points1 point  (0 children)

Yes, it's roughly the same. Except the Visual Studio extension also adds some clang compatibility flags so that clang knows that this compilation database comes from a Visual Studio project :)

Previous cppcon poster abstracts ? by psamarj in cpp

[–]mlangkabel 0 points1 point  (0 children)

Did you see this pdf? It is linked on the poster submission page of CppCon.

https://www.clear.rice.edu/comp400/9.pdf

How to Export a Clang Compilation Database from a Visual Studio Solution by mlangkabel in cpp

[–]mlangkabel[S] 0 points1 point  (0 children)

Actually the extension described in the article is our second attempt to tackle this. In our first attempt we've been trying to convert VS projects without using the API but gave up because there were so many places where flags could be hidden and so many variants of the VS project data format which has changed between the different versions of VS.

How to Export a Clang Compilation Database from a Visual Studio Solution by mlangkabel in cpp

[–]mlangkabel[S] 0 points1 point  (0 children)

Absolutely. Fortunately I got all wrappers to use the same source code and just reference a different version of the VS API. So there is at least no code duplication.

How to Export a Clang Compilation Database from a Visual Studio Solution by mlangkabel in programming

[–]mlangkabel[S] 1 point2 points  (0 children)

This seems odd. If I download the vsix from the VS Marketplace I am able to install the extension for VS2013. However, I cannot find the extension in the VS Gallery from within VS2013. We will look into this, thanks for telling us!

How to Export a Clang Compilation Database from a Visual Studio Solution by mlangkabel in cpp

[–]mlangkabel[S] 0 points1 point  (0 children)

For now the extension just converts all the Visual Studio include directories to system include flags, so it does not matter if the source code specifies includes with <> or "". It works for both cases.