如何在我自己的包中扩展VisualStudio HTML编辑器? [英] How can I extend the VisualStudio HTML editor within my own package?

查看:106
本文介绍了如何在我自己的包中扩展VisualStudio HTML编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



是否可以扩展Visual Studio的默认HTML编辑器?



目前,我可以双击任何HTML文件,默认编辑器将显示,但我想添加一些额外的选项卡,例如用于显示HTML / JavaScript /等的呈现版本的页面。部分。



最好的

解决方案

在Visual Studio包向导的第3页上有一个选项要包装有新编辑器(自定义编辑器)的入口点,检查它...

之后你可以去这里开始阅读:

http://msdn.microsoft.com/en-us/library/bb166329.aspx [ ^ ]


根本不是最好的解决方案。我几次阅读你提到的页面,并认为可以扩展提供的HTML编辑器,如public class MyOwnEditor:VisualStudio.HTMLEditorUi {}。



现在我刚刚从头开始实现自定义编辑器并将使用它。



谢谢!

Hello everyone,

is it possible to extend Visual Studio's default HTML editor?

Currently, I can double-click any HTML file and the default editor will show up, but I like to add some additional tabs, e.g. a page for showing a rendered version of the HTML/JavaScript/etc. part.

All the best

解决方案

On the 3rd page of the Visual Studio Package Wizard there is an option to crate package that has the entry points for new editor (Custom Editor), check it...
After that you may go here and start reading:
http://msdn.microsoft.com/en-us/library/bb166329.aspx[^]


Not the best solution at all. I read your mentioned pages few times and thought it would be possible to just extend the provided HTML editor, like "public class MyOwnEditor : VisualStudio.HTMLEditorUi { }".

Now I just started implementing a custom editor from scratch and will use it.

Thanks!


这篇关于如何在我自己的包中扩展VisualStudio HTML编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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