Coder Social home page Coder Social logo

divlook-fancy / sourcecodevisualizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darktrick/sourcecodevisualizer

0.0 0.0 0.0 1.96 MB

VSCode extension to create dynamic, interactive diagrams from your source code

License: Other

Shell 0.04% JavaScript 88.81% C++ 0.09% Python 1.86% PHP 0.02% TypeScript 7.21% CSS 1.38% HTML 0.59%

sourcecodevisualizer's Introduction

This is a VSCode extension to create dynamically growing diagrams. See the video below or watch the Youtube video (2:20m) to get a grasp of what it does.

Quick example video

Install

From VSCode

Install the extension Code Visualizer

From Release File

Menu → File → Preferences → Extensions → Three dots in the top corner → Install from VSIX...

How to use?

Activate

  • Method 1:

    • Put the caret (cursor) on a function/class/namespace/whatever name
    • Right-click
    • Select Visualize This
  • Method 2:

    • Put the caret (cursor) on a function/class/namespace/whatever name
    • Open VSCode commands (press Ctrl+Shift+P)
    • Search and select Visualize This

Navigation

  • View: zoom-in / zoom-out: Alt+Scrolling
  • View: move around:
    • Drag&Drop the background
    • Scroll over background (vertical scroll)
    • Shift+Scroll over background (horizontal scroll)
  • Open a definition: doubleclick an identifier

Remarks

Don't change code while working within the diagram (this problem will be fixed in future versions)

Supported Languages

Currently the following languages are supported:

  • Python
  • C/C++ (beware, due to VSCode's bad support for C/C++ you might experience difficulties)
  • Php (experimental)
  • Javascript (experimental)
  • Typescript (experimental)
  • Java (experimental)
  • Dart (experimental)
  • Typescript+react (experimental)

Planned Features

  • Allow editing while viewing the diagram
  • Enable multiple diagrams
  • Save diagrams

Ackknowledgements

  • Ivan Sagalaev for highlightjs
  • Creators and maintainers of VSCode
  • Creators and maintainers of nodejs

Development

See README.md in src directory

sourcecodevisualizer's People

Contributors

darktrick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.