设置eclipse中xml的默认编辑器、行数、xsd和dtd .
2013-04-10 16:46
309 查看
1、指定文件的默认打开方式
Window - Preferences - General - Editors - File Associations - 选择文件类型指定Associated editors(如xml指定XML Editor) - Default
选择xml - open with - xml editor
用xml editor打开的xml按alt + /有提示信息
2、设置eclipse显示行数
3、设置xsd和dtd
Window - Preferences - XML - XML Catalog - User Specified Enteries - Add
Location:E:\Tools\ProgramTools\MyBatis\mybatis-3-mapper.dtd
Key type:URI
Key:http://mybatis.org/dtd/mybatis-3-mapper.dtd
Location:E:\Tools\ProgramTools\spring\spring-beans-3.1.xsd
Key type:Schema location
Key:http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
Window - Preferences - General - Editors - File Associations - 选择文件类型指定Associated editors(如xml指定XML Editor) - Default
选择xml - open with - xml editor
用xml editor打开的xml按alt + /有提示信息
2、设置eclipse显示行数
Windows->Perference->General->Editors->Text Editor将show line numbers
3、设置xsd和dtd
Window - Preferences - XML - XML Catalog - User Specified Enteries - Add
Location:E:\Tools\ProgramTools\MyBatis\mybatis-3-mapper.dtd
Key type:URI
Key:http://mybatis.org/dtd/mybatis-3-mapper.dtd
Location:E:\Tools\ProgramTools\spring\spring-beans-3.1.xsd
Key type:Schema location
Key:http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
相关文章推荐
- 设置eclipse中xml的默认编辑器、行数、xsd和dtd
- 设置eclipse中xml的默认编辑器、行数、xsd和dtd
- Eclipse中导入xsd和dtd文件,使编辑XML时自动提示
- Eclipse设置dtd对struts.xml语法提示
- Eclipse添加XML--DTD、XSD
- 在Eclipse中导入dtd和xsd文件,使XML自动提示
- 在Eclipse中导入dtd和xsd文件,使XML自动提示 (转)
- 在Eclipse中导入dtd和xsd文件,使XML自动提示
- Eclipse设置xml用spring编辑器打开的方法
- 如何设置Eclipse编辑器的默认文件打开方式
- 设置Eclipse编辑器的默认文件打开方式
- eclipse中设置文件的默认打开编辑器
- 如何设置Eclipse编辑器的默认文件打开方式
- 【struts2】Eclipse设置dtd对struts.xml语法提示
- Eclipse 默认设置 编码 行数
- eclipse中设置各种文件格式的默认编辑器
- 在Eclipse中导入dtd和xsd文件,使XML自动提示
- 注册 XML Catalog 解决 Eclipse 中 XML 验证时 dtd /xsd 实体未找到 或 连接主机超时的问题
- 在Eclipse中导入dtd和xsd文件,使XML自动提示
- 如何设置Eclipse编辑器的默认文件打开方式