Improve the efficiency of reading the code artifact Sourcetrail

Sourcetrail Profile

Sourcetrail Is a free open-source browser, cross-platform resource, it can help you improve not familiar with the source code efficiency.

Sourcetrail advantages over other development tools

Software developers will figure out most of the time is spent on existing source code, but common code editing tools for this task almost no help. Debugger allows only a narrow detailed inspection code path. "Find All References" to help you navigate between files, but 不能提供上下文以查看所有相关依赖项的概况. SourcetrailThrough 将交互式依赖关系图, 简洁的代码视图and 高效的代码搜索结合together, we provide an overview and detailed information, all of which are superior to other development tools. It enables you 探索遗留代码to understand and implement reconstruction software architecture.

Sourcetrail supports IDE

Atom,Clion,Eclipse,Emacs,IntelliJ IDEA,Neovim,PyCharm,QtCreator,Sublime Text,Vim,Visual Studio,Visual Studio Code

Sourcetrail Supported languages

  • C
  • C ++
  • Java
  • Python
  • custom

Why Sourcetrail? (The following comes from the official website)

  • Software development reality

    As software engineers, we know that we have the skills and ability to implement all the ideas. But sometimes, it's more difficult than we expected. Professional software development is often a team effort. Teamwork enables us to solve more difficult question, but it comes at a price. When the code base growth track each added code becomes more complex. Therefore, spend more effort in research on the current implementation, and cost spent on the preparation of new features but less. New developers often have to spend days or even weeks to access the legacy code to make themselves familiar with the implementation, and can really put into production.

  • Programming language is not a problem

    编程语言在不断发展。通过消除越来越多的计算机限制,它们减少了软件开发人员需要记住的开销。但是,不管使用哪种语言,如果一个项目达到一定规模,就很难保持源代码结构的一致思维模型。这里的问题不是语言的抽象性差,而是代码的信息密度高。源代码中的每一行都有其用途,作为软件开发人员,我们将花费大部分时间搜索当前相关的小片段。为什么不退后一步,看看组件之间是如何连接的,而又不经常查看代码的每个细节?

  • 我们已经有足够的代码编辑器

    在编写代码时,我们有多种选择可以适应我们想要的任何工作流程。更难解决的是我们如何有效地理解现有的实现。尽管那里有许多出色的代码编辑器,但是它们是为编写代码而设计的,并不是为浏览手边的实现而设计的。当然,每个开发人员都有自己的策略,可以从源代码中查找信息,从搜索文档到查看测试,或在可用时询问原始作者。但是,当您用尽所有这些选项时,不可避免地要遍历代码。让我们面对现实吧-深入挖掘是大多数程序员宁愿避免的事情。

  • 电脑知道这一切!

    了解您的软件体系结构的基础并不难。显而易见,了解功能中涉及哪些对象以及功能通过源文件所经过的路径。关于这一切的有趣的事情?您的计算机知道这一切。通过使用编译器或解释器,您的计算机已经知道该语言的工作方式。它知道存在哪些范例,因为它将源代码转换为可执行指令。它知道整个代码库中的每条信息,包括:调用函数的位置,如何实例化类型,更改变量的位置。到目前为止,对于我们的开发人员而言,访问此信息很麻烦,但是使用Sourcetrail可以轻松实现。

  • 认识Sourcetrail,交互式源代码浏览器!

    我们希望您遇到Sourcetrail,这是一种轻量级的代码可视化工具,专门用于在源代码中进行快速而全面的导航。Sourcetrail利用软件可视化来动态生成任何选定类型,函数,变量等的交互式代码映射,并显示其与其余代码库的所有依存关系。但是仅凭花哨的代码可视化效果或类图并不能使您真正了解任何源代码。这就是Sourcetrail在可视化效果旁边还显示相关代码段的原因。最后,该软件包由强大的代码搜索算法完成,可让您尽快入门。Sourcetrail缩短了阅读源代码所花费的时间,并使您有更多时间花在您作为软件开发人员实际喜欢做的事情上。立即开始使用Sourcetrail!

Sourcetrail 项目地址

  • https://github.com/CoatiSoftware/Sourcetrail

参考链接

  • https://www.sourcetrail.com/
  • https://github.com/CoatiSoftware/Sourcetrail

您的关注是小站的动力


欢迎大家关注交流,定期分享自动化运维、DevOps、Kubernetes、Service Mesh和Cloud Native

发布了31 篇原创文章 · 获赞 11 · 访问量 1401

Guess you like

Origin blog.csdn.net/qq_24794401/article/details/103357752