Easy and error-free development
There is no automatic hint of how annoying the XML configuration is, needless to say, many of eclipse itself is closed by default, if the developer does not know, do not know how to set up, here are a few ways to set the automatic prompt:
XML: Get tips for better writing configuration, reduce errors, add did files to implement automatic prompting function
quoted did:<! DOCTYPE Mapper Public "-//mybatis.org//dtd mapper 3.0//en" "Http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
1. Open Window→preferences→xml Catalog→add
2. Copy "-//mybatis.org//dtd Mapper 3.0//en" click on "File System" to find your local did file
Set the test for success.
The second type:
Add window→preferences→ search Xml→xml files→editor→content assist→
Modified to: "<=:.abcdefghijklmnopqrstuvwxyz (," The same Java code can also be set.)
Java_eclipse add did implementation auto prompt