IntelliJ IDEA

十、IntelliJ IDEA 中 Project 和 Module 的概念及区别

南楼画角 提交于 2020-05-01 00:24:04
在 IntelliJ IDEA 中,没有类似于 Eclipse 工作空间(Workspace)的概念,而是提出了 Project 和 Module 这两个概念。接下来,就让咱们一起看看 IntelliJ IDEA 官方是如何描述两者的吧! 对于 Project,IntelliJ IDEA 官方是这样介绍的: A project is a top-level organizational unit for your development work in IntelliJ IDEA. In its finished form, a project may represent a complete software solution. A project is a collection of: Your work results: source code, build scripts, configuration files, documentation, artifacts, etc. SDKs and libraries that you use to develop, compile, run and test your code. Project settings that represent your working preferences in the context of

Groovy&开发环境

 ̄綄美尐妖づ 提交于 2020-04-30 22:08:03
Jenkinsfile开发语言 -- Groovy http://www.groovy-lang.org/ A multi-faceted language for the Java platform Apache Groovy is a powerful , optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax . It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.

基于Gradle的spring boot 项目构建

空扰寡人 提交于 2020-04-30 22:07:04
今天听只是分享,听到不用maven而使用Gradle构建,就尝试了下 Java三大构建工具:Ant、Maven和Gradle Gradle是一个基于Apache Ant和Apache Maven概念的项目自动化建构工具。 它使用一种基于Groovy的特定领域语言(DSL)来声明项目设置,抛弃了基于XML的各种繁琐配置。 支持的语言有Java、Groovy和Scala 1.安装   下载 https://gradle.org   解压,配置环境变量path     eg:将 E:\baby\software\gradle-5.3.1\bin 加入path   验证是否安装好     用命令窗口 gradle -v      2.新建Gradle项目   (1) 通过start.spring.io     A.下载 https://start.spring.io/          B.将下载的包解压,命名为gradle-demo,进入gradle-demo     C.测试,输出hello       c1.修改build.gradle plugins { id ' org.springframework.boot ' version ' 2.1.4.RELEASE ' id ' java ' } apply plugin: ' io.spring.dependency

IDEA 2019.3 最新激活教程,有效期到 2089 年!

狂风中的少年 提交于 2020-04-30 21:45:20
前言 (Pycharm同理,一样步骤!!!) 说实话,IDEA 更新是真滴快,还以为 IDEA 2019.2.4 后面会更新 IDEA 2019.2.5 版本,谁知道 11 月份刚结束,官方直接就上了 2019.3 版本 ... 今天无事便更新一波,尝尝鲜,使用的方法还是之前 2019.2 的破解方法,同样可以破解成功,Happy~, 又可以愉快的玩耍了。 废话少说,开始激活破解 ... 先附上百度云链接哈 链接:https: // pan.baidu.com/s/1ys2ibE__QP96rwa8XKfdbw 提取码:f6w7 下载IDEA 2019.3 其实也可以从老版本直接升级,这里为了照顾大部分人可能第一次安装,我们选择从官网下载,下载地址为: https://www.jetbrains.com/idea/download/ 点击下载,静待下载完成~ 启动 IDEA 2019.3 安装包 这里博主机器上,之前是安装过 IDEA 2019.2.3 版本的,所以提示是否删除老版本,这里我们选择删除老版本: 注意: 若你第一次安装,是没有这一步的,跳过看后面即可~ 继续点击下一步,这里笔者的电脑是 64 位的,顺便将 64 位的 IDEA 启动图标生成到桌面上: 点击下一步,这里又弹出卸载老版本 IDEA 2019.2.3 可以做的操作,如果是第一次安装,则没有这一步

6D姿态估计从0单排——看论文的小鸡篇——Hashmod: A Hashing Method for Scalable 3D Object Detection

ε祈祈猫儿з 提交于 2020-04-30 21:12:26
To this end, we rely on an efficient representation of object views and employ hashing techniques to match these views against the input frame in a scalable way. Our approach to 3D object detection is based on 2D view-specific templates which cover the appearance of the objects over multiple viewpoints. Since viewpoints include the whole object, they can generally handle objects with poor visual features, however they have not been shown to scale well with the number of images so far . We apply hash functions to image descriptors computed over bounding boxes centered at each image location of

解决idea文件名称大小写导致GIT无法提交问题

北城余情 提交于 2020-04-30 20:21:49
在创建文件的时候不小心将文件名大小写错了 例: 创建:A.html 并且已经加入本地索引 修改文件名:A.html 为 a.html commit 报错: Commit failed with error:pathspec 'test/a.html' did not match any file(s) known to git. 解决方法: 在命令行执行: 1. git status On branch dev Your branch is up-to-date with 'origin/dev'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: test/A.html 2. git reset test/A.html 3. git add test/a.html 问题解决 参考:http://stackoverflow.com/questions/29485350/git-case-sensitivity-error-renaming-and-committing-from-android-studio/29485441#29485441 PS: 新版本IDEA已经修复此问题 来源: oschina 链接: https://my.oschina.net/u/86738

IntelliJ IDEA 2019.3安装与激活(附注册码)

你离开我真会死。 提交于 2020-04-30 19:54:06
转载声明 :本文是根据   https://segmentfault.com/a/1190000021220727?utm_source=tag-newest   并结合个人的安装完成情况进行了改动,从而生成此篇文章 官网安装包与破解文件下载: https://pan.baidu.com/s/1O4Pli-Ix-usbSgBHmcA3RQ    提取码:icro 一、下载最新的 IDEA 2019.3 其实也可以从老版本直接升级,这里为了照顾大部分人可能第一次安装,我们选择从官网下载,下载地址为: https://www.jetbrains.com/idea/download/ 点击下载,静待下载完成~ 二、启动 IDEA 2019.3 安装包 这里笔者机器上,之前是安装过 IDEA 2019.2.3 版本的,所以提示是否删除老版本,这里我们选择删除老版本: 注意: 若你第一次安装,是没有这一步的,跳过看后面即可~ 继续点击下一步,这里笔者的电脑是 64 位的,顺便将 64 位的 IDEA 启动图标生成到桌面上: 点击下一步,这里又弹出卸载老版本 IDEA 2019.2.3 可以做的操作,如果是第一次安装,则没有这一步,看下面步骤即可~ 这里由于我之前安装有老版本的 IDEA, 选择将老版本的缓存、本地历史也删除掉: 注意:很多小伙伴激活失败,很可能是之前老版本的遗留缓存导致的

IDEA插件之JProfiler

拥有回忆 提交于 2020-04-30 19:49:40
1、是什么?来用干嘛的?   一个商业授权的Java剖析工具。   用来剖析程序内存、CPU使用情况,找到性能瓶颈,快速定位问题所在。 2、IDEA安装JProfiler插件   (1)File -> Settings -> Plugins 点击Marketplace输入“JProfiler” 点击下载    安装完重启IDEA即可。   (2)安装Profiler for windows版本     https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_windows-x64_11_0_2.exe     自行安装,不多累述。   (3) 安装完成后,在IDEA进行配置到安装的Windows版的profiler上。     指定安装好的profiler.exe即可。不知道路径在哪,在桌面的JProfiler右击属性可以看到文件目录。 3、JProfiler插件的使用 (1)使用JUnit进行重复测试   当我们使用JUnit进行单元测试的时候,Configuration上会显示当前进行的测试方法或方法集的配置:   选择编辑Configuration即可配置运行次数,可选项为一次、指定次数、重复至失败停止和重复至手动停止。   启动JProfiler时,会出现如图所示需要选择的界面,按照需求选择

【Tool】IntelliJ 搭建Node.js环境

好久不见. 提交于 2020-04-30 19:48:01
IntelliJ IDEA 开发 Node.js 2019-07-29 14:12:34 by冲冲 1. 配置插件 在IDEA的 file -> setting -> Plugins,右边手动输入“node.js”搜索,然后点击下载,安装完成后要求重启。 注意:存在 Intellij IDEA 汉化之后无法打开“设置(T)...”的问题 解决方案参考 https://jingyan.baidu.com/article/fb48e8bef2bcb66e622e14d2.html ① 前往Intellij安装包的lib文件夹下,找到汉化文件(resources_cn.jar),用压缩软件打开(不用解压缩)。 ② 将其messages文件夹内的 IdeBundle.properties(系统设置(setting)外观选项加载不出来)、VcsBundle.properties(系统设置(setting)打不开)、UIBundle.properties(定位按钮找不到) 这三个配置文件删除就可以解决对应问题。 ③ 删除后关闭,确保jar文件还在lib目录下,启动Intellij IDEA。 2. Demo测试 ① 点击新建项目,提供node的2个选项: Node.js 基础模板 和 Node.js Express App 网站 ② 创建server.js文件 var http =

厉害了,Servlet3的异步处理机制

自古美人都是妖i 提交于 2020-04-30 18:33:38
Servlet3发布好几年了,又有多少人知道它的新特性呢?下面简单介绍下。 主要增加了以下特性: 1、异步处理支持 2、可插性支持 3、注解支持,零配置,可不用配置web.xml ... 异步处理是什么鬼? 直接操起键盘干。 @WebServlet(name = "index", urlPatterns = { "/" }, asyncSupported = true) public class IndexServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.setContentType("text/html"); try { PrintWriter out = resp.getWriter(); out.println("servlet started.<br/>"); out.flush(); AsyncContext asyncContext = req.startAsync(); asyncContext.addListener(getListener()); asyncContext.start(new