Using XML Schema for code autocomplete in my XML editor

前端 未结 5 1632
猫巷女王i
猫巷女王i 2021-01-12 03:22

I have XSD file (for example) http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd and I would like to use it for adding code autocomplete in my xml editor (I prefer Eclipse bu

5条回答
  •  有刺的猬
    2021-01-12 04:11

    I had a similar problem but did not find a solution here so I posted a similar question. The answer led me to the Eclipse XML Editors and Tools plugin in Eclipse which supports autocomplete based on XML Schema.

    Once the XML document is associated with the relevant XSD file, autocomplete should kick in automatically.

    p.s. Considering the date of your question, you probably already found a suitable solution. However I thought I'd leave this answer anyway as a heads up to future visitors. HTH.

提交回复
热议问题