# eclipse-plugins **Repository Path**: lhq910523/eclipse-plugins ## Basic Information - **Project Name**: eclipse-plugins - **Description**: eclipse插件集合 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-20 - **Last Updated**: 2025-09-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # eclipse插件 一、Ctrl+Shift+Z:选择需要转换的单词,如USER_NAME,按快捷键Ctrl+Shift+Z,即可转换为userName,再次按Ctrl+Shift+Z,可转换为user_name 二、F9:在控制台选择ibatis、mybatis输出的sql语句,按快捷键F9,自动拼接参数并输出完整的SQL语句 注意: 1. 选择sql时,需要选中完整的两行数据 ibatis: xxxxxxxxxxxx Preparing Statement: SELECT xxxxxxxxxxxx xxxxxxxxxxxx Parameters: [xxxxxxxxxxxx] mybatis: xxxxxxxxxxxx ==> Preparing: SELECT xxxxxxxxxxxx xxxxxxxxxxxx ==> Parameters: xxxxxxxxxxxx 2. 该工具实现的原理就是通过切割“Parameters”后的参数,对于ibatis是通过字符串“, ”进行切割,mybatis是通过“\\(\\w+\\), ”正则表达式进行切割,所以如果SQL中某个参数本身也包含这种特殊字符串,最终会导致解析出来的参数个数比实际的参数个数多。出现这种情况工具最后会给出提示,此时需要人工调整 三、F10:选择需要翻译的中文或者英文,按快捷键F10,即可翻译 关于eclipse插件离线安装: 1. 在eclipse根目录下新建一个links文件夹和myplugins/eclipse/plugins文件夹 2. 在links文件夹下新建一个myplugins.link的文件,内容为path=myplugins 3. 将插件拷贝到myplugins/eclipse/plugins文件夹下并重启eclipse 4. 所有插件的快捷键皆可修改