简体   繁体   English

我可以在我的应用程序中托管Visual Studio 2010编辑器吗?

[英]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.

相关问题 如何加快Visual Studio 2010文本编辑器的渲染速度? - How can I speed up Visual Studio 2010 text editor render speed? Visual Studio 2010 - XAML编辑器非常慢 - Visual Studio 2010 - XAML Editor Extraordinarily Slow Visual Studio 2010 XAML布局编辑器不提供“所见即所得”的功能 - Visual Studio 2010 XAML layout editor not WYSIWYG Wpf- visual studio中的文本框如何折叠区域以及如何在文本编辑器中实现它? - Wpf- How does the textbox in visual studio collapse regions and how can I implement this in my text editor? 如何在visual studio express 2010中创建安装程序(msi)? - How can I create an installer (msi) in visual studio express 2010? wpf图像资源和visual studio 2010资源编辑器 - wpf Image resources and visual studio 2010 resource editor 如何使用Visual Studio 2010主题编辑器查找要编辑的正确颜色? - How to find the correct color to edit with the Visual Studio 2010 Theme Editor? 是否可以在Visual Studio 2010中创建可与Windows Mobile 6.1设备同步的WPF应用程序? - Is it possible to create a WPF application in Visual Studio 2010 which can sync with Windows Mobile 6.1 devices? 如何在Visual Studio 2010中为数值数组创建自定义图像装饰器加载项? - How can I create a custom image adorner add-in for numerical arrays in Visual Studio 2010? 如何使Visual Studio 2010的“添加用户控件”创建WPF控件? - How can I make Visual Studio 2010's “Add User Control” create a WPF control?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM