zoukankan      html  css  js  c++  java
  • 配置myeclipse中XML文件的智能提示

    第一步:将XML编辑器设置默认为Myeclipse edit 

    window-->Preferences-->General-->Editors-->File Associations

    找到*.xml,选择Myeclipse Xml editor,点default


     

    第二步:配置dtd或者xsd文件

    Window --> Preferences... -->MyEclipse --> Files & Editors -->XML -->XML Catalog

    Example:

    ...xml catalog-->Add-->

    Location: 选择dtd的路径如:D:\J2EE\MyEclipse Blue 7.0 M2\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_6.9.200.zmyeclipse69200200809\catalog-dtd\struts-2.0.dtd(这个struts-2.0.dtd是自己手动加入进入的)


    Key Type: 使用默认的Public ID


    Key:  一般设置为平时xml中声明的头如:-//Apache Software Foundation//DTD Struts Configuration 2.0//EN

    -->Ok
    在打开此类型的.xml文件就有提示信息了
  • 相关阅读:
    Java中的import
    C语言中变量的理解
    C语言中变量的储存类别
    android通话流程浅析RIL层
    IOS(数据持久化1)
    IOS(CGContent画曲线)
    IOS XML的类型数据的解析
    truncate narrow string converted from unicode string
    复习:C语言中的转义字符
    Note of using static_cast
  • 原文地址:https://www.cnblogs.com/KiloNet/p/1996774.html
Copyright © 2011-2022 走看看