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

时间:2021-11-06 20:49:41

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?

如果是这样,我应该使用什么控制?

4 个解决方案

#1


4  

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. I'm using the beta WPF version and it is quite nice. It's got configurable syntax highlighting and auto completion support.

SharpDevelop使他们的代码编辑器Avalon Edit作为独立版本提供。我正在使用测试版WPF版本,它非常好用。它具有可配置的语法突出显示和自动完成支持。

#2


2  

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设计师团队的Mark Wilson-Thomas项目经理

#3


0  

Not all of the Microsoft applications is based on the available-to-all controls. I don't see any reason, why the VS2010 should be the exclusion.

并非所有Microsoft应用程序都基于可用于所有控件。我没有看到任何理由,为什么VS2010应该被排除在外。

#4


0  

I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET. This is used by MyGeneration and it very configurable.

我敢肯定SharpDevelop可能是最好的选择,但你也可以看看ScintillaNET。 MyGeneration使用它,它非常易于配置。

#1


4  

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. I'm using the beta WPF version and it is quite nice. It's got configurable syntax highlighting and auto completion support.

SharpDevelop使他们的代码编辑器Avalon Edit作为独立版本提供。我正在使用测试版WPF版本,它非常好用。它具有可配置的语法突出显示和自动完成支持。

#2


2  

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设计师团队的Mark Wilson-Thomas项目经理

#3


0  

Not all of the Microsoft applications is based on the available-to-all controls. I don't see any reason, why the VS2010 should be the exclusion.

并非所有Microsoft应用程序都基于可用于所有控件。我没有看到任何理由,为什么VS2010应该被排除在外。

#4


0  

I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET. This is used by MyGeneration and it very configurable.

我敢肯定SharpDevelop可能是最好的选择,但你也可以看看ScintillaNET。 MyGeneration使用它,它非常易于配置。