zoukankan      html  css  js  c++  java
  • IDEA环境设置

    设置SDK:https://blog.csdn.net/y999666/article/details/51893348

     打开模板使用说明,找到Maven本地安装目录,

    备份E:Program FilesApache Software Foundationapache-maven-3.5.4-binconf中的

    settings.xml

    修改settings.xml

    添加  <localRepository>E:/local/repo</localRepository>

    将模板中的配置节mirrors拷贝到settings中

      <mirrors>

       <!-- 阿里云仓库镜像 -->

             <mirror>

                       <id>alimaven</id>

                       <mirrorOf>central</mirrorOf>

                       <name>aliyun maven</name>

                       <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>

             </mirror>

      </mirrors>

    将模板中的配置节profile添加到 settings.xml

             <profile>

                       <id>company</id>

                       <repositories>

                                <repository>

                                         <id>company-snapshots</id>

                                         <name>company-snapshots</name>

                                         <url>http://maven.company.com/repository/maven-snapshots/</url>

                                </repository>

                                <repository>

                                         <id>company-releases</id>

                                         <name>company-releases</name>

                                         <url>http://maven.company.com/repository/maven-releases/</url>

                                </repository>

                       </repositories>

             </profile>

    将模板中的配置节activeProfiles添加到 settings.xml

      <activeProfiles>

            <activeProfile>company</activeProfile>

      </activeProfiles> 

    导入项目,选择 test.portal文件夹

     

    网页打开: http://localhost:8993/

    登录帐户:admin   companyadmin

     设置Maven为本地目录

     

    安装插件Lombok插件

     

    安装插件Maven Archetype Catalogs

     

    安装插件Free MyBatis plugin

     

    安装插件Alibaba Java Coding Guidlines

     

    设置Git路径:E:Program FilesGitin

     

    设置自动换行

     

     热编译

     Build-Compiler-Build project automatically  ctrl+shift+A或ctrl+shift+alt+/ 搜索 Registry,找到compiler.automake.allow.when.app.running,开启此功能;

    设置IDE主题:http://www.riaway.com/

    设置Android Studio主题:

    https://blog.csdn.net/cc20032706/article/details/71598529

  • 相关阅读:
    Java +安卓 定时任务
    android动画解析(初级)
    语义化版本 2.0.0
    团队中的 Git 实践
    Spring和SpringBoot比较,解惑区别
    Spring boot 拦截器和过滤器
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project kircp-js-plan-resource: The packaging for this project did not assign a file to the bu
    Java函数优雅之道
    在springMVC的controller中获取request,response对象的一个方法
    Kotlin 数据类型(数值类型)
  • 原文地址:https://www.cnblogs.com/shy1766IT/p/10372970.html
Copyright © 2011-2022 走看看