Standardize the development process of programmers through plug-ins (Eclipse Code Assistant new feature release)

In program development, one of the code specifications is aimed at programmers. At present, it is often seen that there are specifications but no implementation. Later, in the actual development process of the project, it is found that the tools can be enhanced in the development tools to unify everyone's development specifications. , Try to give early warning to non-standard code, remind developers to correct non-standard code in time, and avoid production problems.


The current one is developed and tested based on the Eclpse kelper SR1.

This plugin was developed based on this idea, adding a comparison function between the development version and the production version. It is used to compare the version differences between the production version and the ready-to-launch version.
Here's how to use this plugin for version comparison
1: Set the SVN URL, username and password



2: Select the file and right-click the production version comparison in compare, you can compare the production code with the native code

 



 



The function that has been implemented so far is to check some development specifications
of Ibatis 1: Chinese codes cannot be inserted in Ibatis's select, update, delete, and insert, especially for some implicit ones such as Chinese half-width and full-width commas. It can be discovered in time during editing.
2: Some programmers in Oracle will use to_char and to_date methods in where. This method will cause low performance of database execution statements when the amount of data is relatively large, and corresponding modification suggestions are proposed.
3: The execution statement in Ibatis in the Web project contains the $ symbol, generally there is a risk of SQL injection in this category, prompt and give suggestions for modification
4: It is not recommended to use wildcards such as * in ibatis, which is easy to cause maintenance difficulties.
5: In the actual development process, it is found that some people will directly copy the semicolon to Ibatis, the problem is not easy to find, add the judgment of the semicolon, and provide correction suggestions.
In the future, I will gradually increase the actual use and feedback in the follow-up process. Your feedback is the driving force for me to move forward.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326645423&siteId=291194637