当前所用工具
前端 WebStorm_64bit_ 2017.1
后端 IDEA 15,因为公司用这个
配置文件
C:\Users\XiaoCong\.IntelliJIdea15\config\settings.jar
看 每次都更新下来了哪些文件
可以改方法体,但改方法名和添加方法不行,要重启Tomcat ----“ 热替换 ”
IntelliJ 中重启Tomcat的步骤:
先安全退出账号
右上角 两次,看到断开连接
或
左下角要先stop,然后右上角
问题
热部署 (update Tomcat application )的快捷键ctrl+F10 无效,出来的是鼠标右键编辑器的效果
出来的是这个

分析 快捷键冲突,鼠标上下文重新设置key,在IDEA 的设置里搜索关键字"update"(搜"Tomcat"找不到),然后再设置,如果提示冲突的话,酌情考虑是换个快捷键,还是仍然用当前的快捷键,另一个取消掉
比如换个快捷键
IDEA 导入gradle项目的时候 , cause error in opening zip file
项目里的配置文件wapper(似乎叫这个)文件夹,更改gradle的配置文件,改成已有的gradle
detectde

配置一下Spring xml文件自动识别功能
IntelliJ terminal 中文"C:\Program Files\nodejs\node.exe" C:\Users\XiaoCong\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng new Angular4_hello --dir=. --ng4
The option ‘--ng4‘ is not registered with the new command. Run `ng new --help` for a list of supported options.
Project name "Angular4_hello" is not valid. New project names must start with a letter, and must contain only alphanumeric characters or dashes. When adding a dash the segment after the dash must also start with a letter.
Angular4_hello
^
Done
添加破折号后破折号的段也必须以字母开头。
Angular4_hello 不行
Angular4-hello 可以
Angular4-hello
IntelliJ terminal 中文
intellij idea terminal中文显示不全如何解决
C:\WINDOWS\system32\cmd.exe
快捷键 用eclipse的快捷键key map
IntelliJ 回到光标之前的位置
同 Eclipse- alt + 左右键
注意: win10系统里,ctrl+alt+左右键变成切换屏幕的方向,上 是 常规方向,所以要更改win10系统默认的快捷键
ca+l 格式化美化代码
c+l go to到某一行,不是c+g
导入包 a+enter 回车,鼠标放在类名上
cs+k 上一个位置occurrence (n. 发生,出现; 遭遇,事件;)
c+k 下一个位置

csa+n 查询符号,包括字符串

调大可以占用的内存:
idea.exe.vmoptions
idea64.exe.vmoptions

图片上时间是 2046,因为我改了win10的系统时间
econn reset
Grunt ECONNRESET
IntelliJ IDEA
原文:http://www.cnblogs.com/xiaoCong2016/p/6698441.html