idea使用,破解,mybatis plugin使用破解

idea 最新激活方式: http://blog.csdn.net/zx110503/article/details/78734428

2017.2 版本以前的用注册嘛可以 。2017.3版本的必须用最新的注册方式

Idea快捷键使用总结[/size] [size=medium;]
idea 快捷键使用 pvsm 自动生成main函数 sout 自动输出System.out.println()
函数 control +shift +f 全局搜索 commcat + n。
快速搜索想要的类 alt +f7 表示快速查看这个方法被谁调用
ctrl +d 表示快速增加一行
Ctrl+Alt+L 格式化代码
Ctrl+Alt+O 优化导入的类和包
ctrl +x 表示快熟剪掉一行
ctrl +d 快速定位历史改变
ctrl +shift +\快速注释 连续两次是表示注释取消,
sql语句中 ctrl +y 快速删除这一行
alt+enter 快速修复,
导包 shift+F6 重构-重命名 ctrl+R 替换文本
Ctrl+F快速查找 ctrl+E 打开最近打开的文件
ctrl+空格 代码提示 Alt+F1
查找代码所在位置 ctrl+b 快速查找变量的来源
F3 向下查找关键字出现位置
ctrl+alt+o 快速删除没有引用的war包 shift^2 快速查找全局文件
在mac 系统下 ctrl 建一般换成commct键



[size=x-small;]
idea 常用的插件工具名称
[/size]

Grep Console 启动代码错误信息颜色区分
Database 数据库管理工具 GsonFormat json格式化工具
CheckStyle-IDEA 检查代码格式
FindBugs-IDEA bugs分析
Maven Helper maven依赖结构
BashSupport 语法快速定位
mybatis 数据库自动生成插件
GsonFormat  json格式化工具


IDEA 常用快捷键 参考: http://lavasoft.blog.51cto.com/62575/97730


mybatis plugin 插件破解

https://github.com/luyanliang/profile/blob/master/idea/plugin/MybatisPlugin/Mybatis-Plugin%E6%8F%92%E4%BB%B6%E5%AD%A6%E4%B9%A0%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95.txt


最新mybatis plugin 改版之后,网上没有找到破解的方法,自己把以前破解的拿过来,用于破解新的idea 发现也可以。 
步骤1 下载 http://daimajia.iteye.com/admin/blogs/2364457/edit 放在idea 目录下面 更改名称为mybatis_plus 。(我的目录:./Library/Application\ Support/IntelliJIdea2017.3/mybatis_plus/)然后重启idea ,然后去我安装的插件启动 插件即可。出现下图 Run as mybatis Generator 就安装成功了,。  这个版本主要适用于2017以上的版本




mybatis插件配置文件 :mybatis-generator.xml


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE generatorConfiguration PUBLIC
        "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
        "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
<generatorConfiguration>

    <!-- !!!! Driver Class Path !!!! -->
    <classPathEntry location="/Users/a56832357/Library/Preferences/IntelliJIdea2017.2/jdbc-drivers/MySQL Connector/J/5.1.40/mysql-connector-java-5.1.40-bin.jar"/>

    <context id="context" targetRuntime="MyBatis3">
        <commentGenerator>
            <property name="suppressAllComments" value="false"/>
            <property name="suppressDate" value="true"/>
        </commentGenerator>

        <!-- !!!! Database Configurations !!!! -->
        <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/pingxing_new"
                        userId="root" password=""/>

        <javaTypeResolver>
            <property name="forceBigDecimals" value="false"/>
        </javaTypeResolver>

        <!-- !!!! Model Configurations !!!! -->
        <javaModelGenerator targetPackage="com.jiayu.pingxing.core.dao.dto" targetProject="pingxing-core">
            <property name="enableSubPackages" value="true"/>
            <property name="trimStrings" value="true"/>
        </javaModelGenerator>

        <!-- !!!! Mapper XML Configurations !!!! -->
        <sqlMapGenerator targetPackage="mapper" targetProject="pingxing-core">
            <property name="enableSubPackages" value="true"/>
        </sqlMapGenerator>

        <!-- !!!! Mapper Interface Configurations !!!! -->
        <javaClientGenerator targetPackage="com.jiayu.pingxing.core.dao" targetProject="pingxing-core" type="XMLMAPPER">
            <property name="enableSubPackages" value="true"/>
        </javaClientGenerator>
        <!-- !!!! Table Configurations !!!! -->
        <table tableName="px_source_channel_reward" enableCountByExample="false" enableDeleteByExample="false"
               enableSelectByExample="false"
               enableUpdateByExample="false"/>
    </context>
</generatorConfiguration>





猜你喜欢

转载自daimajia.iteye.com/blog/2364457