[英]Can I host the Visual Studio 2010 editor in my application?
I am wondering whether it's feasible to host the Visual Studio 2010 editor in my WPF application - I understand the new editor is written in WPF. 我想知道在我的WPF应用程序中托管Visual Studio 2010编辑器是否可行 - 我理解新编辑器是用WPF编写的。
If so, what control should I use? 如果是这样,我应该使用什么控制?
Not an answer to your exact question (though I would bet that hosting part of vs.net isn't readily supported or licensed)... 不是你的确切问题的答案(虽然我敢打赌主持部分vs.net不容易支持或许可)...
SharpDevelop makes their code editor, Avalon Edit , available as a standalone. SharpDevelop使他们的代码编辑器Avalon Edit作为独立版本提供。 I'm using the beta WPF version and it is quite nice.
我正在使用测试版WPF版本,它非常好用。 It's got configurable syntax highlighting and auto completion support.
它具有可配置的语法突出显示和自动完成支持。
I can confirm that this is not supported in Visual Studio 2010 or Visual Studio 2008. 我可以确认Visual Studio 2010或Visual Studio 2008不支持此功能。
See http://blogs.msdn.com/wpfsldesigner/pages/general-wpf-and-silverlight-designer-faq.aspx item 5. 请参阅http://blogs.msdn.com/wpfsldesigner/pages/general-wpf-and-silverlight-designer-faq.aspx第 5项。
Thanks Mark Wilson-Thomas Program Manager, WPF & Silverlight Designer Team, Visual Studio 感谢Visual Studio的WPF和Silverlight Designer团队的Mark Wilson-Thomas项目经理
Not all of the Microsoft applications is based on the available-to-all controls. 并非所有Microsoft应用程序都基于可用于所有控件。 I don't see any reason, why the VS2010 should be the exclusion.
我没有看到任何理由,为什么VS2010应该被排除在外。
I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET . 我敢肯定SharpDevelop可能是最好的选择,但你也可以看看ScintillaNET 。 This is used by MyGeneration and it very configurable.
这是MyGeneration使用的,它非常易于配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.