C# 开源 Xml 编辑器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1692992/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 20:01:43  来源:igfitidea点击:

Open Source Xml Editor

c#xmlxml-editor

提问by Alon Gubkin

I need to write a XML-based markup language. I'd like to provide an open source IDE for it, but I don't want to write it from scratch. So, I'm looking for an open source XML editor, written in C#, with WinForms or WPF UI, which I'll can extend it and add my markup language validation and etc, with the following features:

我需要编写一种基于 XML 的标记语言。我想为它提供一个开源 IDE,但我不想从头开始编写它。所以,我正在寻找一个开源的 XML 编辑器,用 C# 编写,带有 WinForms 或 WPF UI,我可以扩展它并添加我的标记语言验证等,具有以下功能:

  • XML Syntax Highlighting like VS
  • Auto Completion
  • Validation
  • 像 VS 一样的 XML 语法高亮
  • 自动完成
  • 验证

It's license should be that I can edit it and then release it, with the source code.

它的许可证应该是我可以编辑它,然后使用源代码发布它。

Are there any things like that?

有没有这样的事情?

Thanks.

谢谢。

回答by Cheeso

I use emacs. you can try sgml-mode or nxml-mode.

我使用 emacs。你可以试试 sgml-mode 或 nxml-mode。

回答by Alon Gubkin

Greg's Xml Editoris exactly what I need. Thanks anyway.

Greg 的 Xml 编辑器正是我所需要的。不管怎么说,还是要谢谢你。

回答by Martin Ch

Try XmlAutoComplete- WPF control, written in C#, Net4.0

试试XmlAutoComplete- WPF 控件,用 C#、Net4.0 编写