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文件就有提示信息了
  • 相关阅读:
    View Controller 生命周期的各个方法的用法
    IOS开发之Post 方式获取服务器数据
    委托代理
    Function
    SKPhysicsContactDelegate协议
    UITouch附加
    Remove Duplicates from Sorted Array II
    4Sum
    [Text Justification
    Count and Say
  • 原文地址:https://www.cnblogs.com/KiloNet/p/1996774.html
Copyright © 2011-2022 走看看