基于XML模式与智能感知/自动完成的XML编辑器 [英] XML editor with intellisense/autocomplete based on XML Schema

查看:137
本文介绍了基于XML模式与智能感知/自动完成的XML编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个XML编辑器,可以提供基于XML模式的自动完成和验证。目标平台是Linux的,与Win / OSX支持理想,但可选的。

I'm looking for an XML editor that can provide auto completion and validation based on an XML schema. The target platform is Linux, with Win/OSX support desirable but optional.

从<一个href=\"http://stackoverflow.com/questions/2958414/using-xml-schema-for-$c$c-autocomplete-in-my-xml-editor\">this问题我知道,这是在Visual Studio支持。也有支持此功能的几个商业XML编辑器(液氧XML工作室)。我个人不介意付费应用,但这种情况下我期待为您推荐的编辑器用户组,并要求他们支付的应用程序不会很好下来。

From this question I'm aware that this is supported in Visual Studio. There are also several commercial XML Editors (oXygen, Liquid XML studio) that support this feature. I personally don't mind paid apps, but for this instance I'm looking to recommend the editor to a group of users, and requesting that they pay for an app will not go down well.

有什么建议?

P.S。我在使用科莫多编辑快速刺,但不能得到基于自定义模式就自动完成。在得到这个工作的任何提示,将有助于太。

p.s. I had a quick stab at using Komodo Edit but could not get it to autocomplete based on a custom schema. Any tips on getting this working would help too.

使用的的Eclipse 的用的的Eclipse XML编辑器和工具的插件就像一个魅力。该解决方案对所有目标平台上工作的额外奖金。由于 @xcut

Using Eclipse with the Eclipse XML Editors and Tools plugin works like a charm. This solution has the added bonus of working on all target platforms. Thanks @xcut.

<一个href=\"http://superuser.com/questions/98021/how-to-associate-xml-file-with-xsd-file-in-eclipse-for-autocomplete/98315#98315\">This回答上的的Eclipse 的可以这样做没有插件,但我无法复制的说法。

This answer on SU states that Eclipse can do so without plugins but I could not replicate the claim.

至于我在尝试使用的科莫多编辑的,它显然可以这样做,如果一个的创建并注册一个XML目录。不过,我无法得到它的XML模式和ActiveState公司专门提到DTD和RelaxNG所有正式文件只工作

As for my attempts at using Komodo Edit, it is apparently possible to do so if one creates and registers an XML catalog. However I could not get it working with XML schemas and all official documents from ActiveState specifically mentions DTD and RelaxNG only.

推荐答案

尝试安装Eclipse Web工具蚀。据我所知,该编辑器具有自动完成。

Try eclipse with eclipse Web Tools installed. As far as I know, that editor has auto-complete.

当然,一个完整的Eclipse安装可能是矫枉过正...

Of course, a full eclipse install might be overkill...

这篇关于基于XML模式与智能感知/自动完成的XML编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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