VS2015企业逆向工程code到UML [英] VS2015 Enterprise Reverse Engineer Code to UML

查看:2544
本文介绍了VS2015企业逆向工程code到UML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在看的Visual Studio 2015年企业版的各种建筑特色。一切看起来不错。

I'm looking at the various Architecture features of Visual Studio 2015 Enterprise edition. All looks good.

不过,我有code这是所有准备写,我想从它生成类图。不是标准添加类图的项目 - 但是从UML类图。我创建了一个模型项目这一点。

However, I have code that is all ready written and I would like to generate Class Diagrams from it. NOT the standard Add Class Diagram in a Project - but from the UML Class Diagrams. I have created a Modelling Project for this.

我看不到的方式来做到这一点 - 这可能吗?我可以反向工程现有code到漂亮的图表?

I cannot see a way to do this - is it possible? Can I reverse engineer existing code into nice diagrams?

下面是我的解决方案的看法:

Here is my solution view:

下面是类图设计师:

我可以拖放从解决方案资源管理项目纳入一个分层图,但没有带班。这里有一个我做了早些时候:

I can drag and drop projects from Solution Explorer into a Layered Diagram but nothing with classes. Here is one I made earlier:

我可以拖放到班级从Solution Explorer中code地图。这将是不错的我所有的造型在一个项目。我真的很讨厌旧的类图表,你将它添加到一个单一的项目。

I can drag and drop classes into Code Map from Solution Explorer. It would be nice to have all my modelling in one project. I really hate the old class diagramming where you add it to a single project.

这似乎是在previous Ultimate版本的功能。但是,下面的网址没有一个链接,2015年(只到2013年)。

This seemed to be a feature in previous Ultimate editions. However, the following Url does not have a link for 2015 (only up to 2013).

MSDN

更新

我安装了2013终极我们有一个许可证,以及所有这些功能是在这个版本。为什么2015年的企业?我们可以期待微软不打算不再支持这一点,并正在逐步出来?抑或是案件没有时间为2015年,这将被包含在更新。

I installed 2013 Ultimate we have a licence for and indeed all of this functionality is in this version. Why not 2015 Enterprise? Can we expect Microsoft is not going to support this no longer and is phasing it out? Or was it a case of there was no time for 2015 and it will be included in an update.

推荐答案

TLDR;在这一点上的Visual Studio 2015+没有计划支持反向工程的UML类图,也没有去UML序列图。

TLDR; at this point Visual Studio 2015+ doesn't have plans to support reverse engineering to the UML class diagram, nor to the UML sequence diagram.

的Visual Studio 2015年使用了全新的编译器(项目罗斯林)不得不返工,以支持新的范例。

Visual Studio 2015 uses brand new compilers (project Roslyn) for C# and VB, and many features that interact with the code had to be reworked to support the new paradigm.

与此同时,我们的遥测数据表明,逆向工程,不使用那么多。与客户谈话表明,很多人都在移动到较快的释放周期,这意味着,图中去过时太快是有用的。

At the same time, our telemetry data shows that reverse engineering is not used that much. Conversations with customers show that many people are moving to faster release cycles, which means that diagrams go out of date too quickly to be useful.

因此​​,我们决定投资类图(不是那些UML)和code地图。这两种支持逆向工程。尤其是code地图已编制上消除许多错误和提高性能和可扩展性,并且是首选分析架构的技术。 这里,显示一些场景code地图擅长的文章。

As such we decided to invest in Class Diagrams (not the UML ones) and in Code Map. Both of these support reverse engineering. Code Map in particular has been worked on to eliminate many bugs and improve performance and scalability, and is the technology of choice for analyzing architecture. Here's an article that shows some scenarios that Code Map is good at.

这是说,VS 2013继续支持这些方案,您可以并排安装它的一面。你可以要求对UserVoice的功能 - 已经有一个<一个href=\"https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/8972911-allow-generation-of-sequence-diagrams-from-$c$c\">request带回序列图逆向工程。

That said, VS 2013 continues to support these scenarios and you can install it side by side. You can ask for features on UserVoice - there is already a request to bring back sequence diagram reverse engineering.

什么是你计划使用反向工程了?

What were you planning to use Reverse Engineer for?

这篇关于VS2015企业逆向工程code到UML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆