Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 A general code relationship visualizer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

league1991
New Member

China
8 Posts

Posted - Apr 04 2017 :  11:10:06 AM  Show Profile  Reply with Quote
Hi, I wrote a code relationship visualizer for sublime text called CodeAtlas. It can display relationship graph between code elements, such as call graph and class hierarchy, and user can use up/down/left/right to navigate these elements. I tried it myself for a few months and found it really helpful.

Here's my plugin's UI.
https://github.com/league1991/CodeAtlasSublime/raw/master/ImageCache/overview.png

Here's the source code, with some feature gifs:
https://github.com/league1991/CodeAtlasSublime

Here's the plugin's feature video:
https://www.youtube.com/watch?v=FScdHyxdNFw&list=PLN16zMWJLkHLgHhTJUIkwp5chgnFz9_NH

The plugin query code information by using another static code analysis software. Now I want to make it a Visual Studio plugin but I found the API is too complex for me. So can you implement similar features? I think with VA's powerful code analysis feature, it's not difficult to making such visualizer. Hopefully my idea can help more people.

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Apr 04 2017 :  11:59:27 AM  Show Profile  Reply with Quote
What license is this code published under? I am not seeing any obvious sign of this information, but I may well just be missing it.

zen is the art of being at one with the two'ness
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Apr 05 2017 :  01:39:24 AM  Show Profile  Reply with Quote
I add EPLv1 license today. I choose this license because it allows commercial use and there is a graph layout library grandalf in my plugin (https://github.com/bdcht/grandalf), whose license is EPLv1.

If you found any inconvenience for this license, please tell me and I can choose another one. No matter commercial or not, I will be glad for my idea being used.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 05 2017 :  6:24:26 PM  Show Profile  Reply with Quote
Thank you. I've opened a case for this, explaining your wish:

case 105251

In the meantime, which parser are you using> I'm referring to this sentence of yours: "The plugin query code information by using another static code analysis software."

Edited by - accord on Apr 05 2017 9:32:39 PM
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Apr 05 2017 :  9:24:09 PM  Show Profile  Reply with Quote
I'm sorry I can't open the link, it just request me to log in but I haven't an account. I clicked on "status of a case" and inputed "105251" in the ticket box but failed. So what should I do to see the case?

My plugin use another commercial software called understand (https://scitools.com). It provides python API to query its database file. The database is static and one has to update it manually. However, their API is very easy to use.

Edited by - league1991 on Apr 05 2017 9:25:11 PM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 05 2017 :  9:40:28 PM  Show Profile  Reply with Quote
Thank you for the details.

*oops* I made a mistake. Our bug database is not open but you are always welcome to ask about the status.

We're already considering to implement something similar to your idea. Not sure if/when it will happen though.
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Apr 06 2017 :  12:04:02 AM  Show Profile  Reply with Quote
Great! I'll be glad to know any progress for that.

If you have any question, such as for technical details or UI design considerations, just ask me. I will help you as much as I can. If you have any ideas or advices, I can try to implement them in my plugin and you can preview the result.

My email is ***@gmail.com .


Edited by - accord on Apr 06 2017 01:23:46 AM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 06 2017 :  01:26:07 AM  Show Profile  Reply with Quote
Thank you!

I've made a note about your support and email address in the case and removed the latter from here to avoid spam bots to find it.
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Apr 06 2017 :  01:37:42 AM  Show Profile  Reply with Quote
Thanks for your carefulness.
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Apr 06 2017 :  11:26:06 AM  Show Profile  Reply with Quote
Any progress?
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 06 2017 :  4:44:37 PM  Show Profile  Reply with Quote
quote:
Any progress?


No, we didn't get to this yet. We don't have any immediate plans to implement this.
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Apr 06 2017 :  8:54:48 PM  Show Profile  Reply with Quote
OK, I see.
Go to Top of Page

league1991
New Member

China
8 Posts

Posted - Jul 28 2017 :  01:47:48 AM  Show Profile  Reply with Quote
I've implemented my idea as an open source Visual Studio plugin.

Here is the download link for VSIX package:
https://marketplace.visualstudio.com/items?itemName=YaobinOuyang.CodeAtlas

Here is the source code:
https://github.com/league1991/CodeAtlasVsix

I'll be glad if you like its idea and implement similar features.


Edited by - league1991 on Jul 28 2017 09:42:40 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Jul 28 2017 :  04:04:53 AM  Show Profile  Reply with Quote
Thank you for the links. This looks interesting, but isn't something we are looking to investigate in the near future. But it is good that this is available, and it does look helpful in some situations.

zen is the art of being at one with the two'ness
Go to Top of Page

NeumannAndre
New Member

2 Posts

Posted - Nov 19 2019 :  06:22:06 AM  Show Profile  Reply with Quote
I'd like to add one more tool for code review that is also worth to be mentioned here. Review Assistant allows you to create review requests and respond to them without leaving Visual Studio. https://www.devart.com/review-assistant/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000