-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
24 changed files
with
263 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 序 | ||
IDEA编译出错信息 | ||
|
||
|
||
**将eclipse里的java文件拷贝到idea里,文件没提示任何错误,编译提示如下:** | ||
|
||
IntelliJ IDEA中错误提示:java: Syntax error on token "Invalid Character", delete this token** | ||
IntelliJ IDEA中错误提示:“非法字符: \65279"** | ||
|
||
**解决方案:** | ||
|
||
在网上找了解决方法的地址 [解决方法] (http:https://qiaoshi.iteye.com/blog/1850027) | ||
将eclipse里的java文件拷贝到idea里,文件没提示任何错误,编译提示如下: | ||
IntelliJ IDEA中错误提示:java: Syntax error on token "Invalid Character", delete this token** | ||
IntelliJ IDEA中错误提示:“非法字符: \65279"** | ||
由于我在MAC下尝试了网上的第一种解决方案不行,第二种方案由于电脑上没有NotePad++所以没有尝试 | ||
最后我的解决方法是将提示编译报错的文件,将file encodings由utf-8改成utf-16,再将utf-16改成utf-8就好了 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 解决代码提示功能消失 | ||
--- | ||
* **工具名称**:intellij idea | ||
* **工具版本**:12.1.6 | ||
* **操作系统**:windows 7 64bit | ||
* **jdk版本**:jdk 1.7 | ||
* **部署容器**:tomcat 6.0 | ||
* **问题描述**: | ||
1)代码上没有任何警告或错误的提醒,但是make会提示错误信息;2)部分快捷键失效,比如导入java包快捷键。 | ||
如下图所示: | ||
![image](https://f.cloud.github.com/assets/5557595/1851160/f1a7478a-76e3-11e3-8c1c-b9647262265e.png) | ||
* **解决方案**(目前共有三种情况): | ||
情况一 | ||
勾选了"power save mode"(省电模式)。在省电模式下,就没有代码提示了。解决方法是,关闭省电模式,重启intellij idea。 | ||
![asdf gif](https://f.cloud.github.com/assets/5557595/1851159/f1a53d5a-76e3-11e3-9edb-bd74f674b1d3.gif) | ||
情况二 | ||
缓存问题。解决方法是,删除缓存 file -> invalidate caches,根据提示重启intellij idea。 | ||
情况三 | ||
配色问题。解决方法是,切换到其他配色,比如内置配色darchla。 | ||
![1](https://f.cloud.github.com/assets/5557595/1851161/f1aee06c-76e3-11e3-9107-bec5e95ac547.png) | ||
|
||
--- | ||
* **作者**:李慢慢 | ||
* **时间**:2014年1月6日 23:23:45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#如何关注IntelliJ IDEA动态 | ||
|
||
--- | ||
|
||
* **JetBrains在新浪微博**:http:https://weibo.com/3220313942 | ||
* **JetBrains在Google+**:https://plus.google.com/+jetbrains/ | ||
* **JetBrains在Facebook**:http:https://www.facebook.com/JetBrains | ||
* **JetBrains在Twitter**:http:https://twitter.com/#!/jetbrains | ||
* **IntelliJ IDEA官网博客**:http:https://blog.jetbrains.com/idea/ | ||
* **其他注意细节**:IntelliJ IDEA博客支持RSS订阅,如果你不懂RSS,请看这个视频教程:[点击我](http:https://www.youmeek.com/use-rss-to-read-is-beautiful/ "@RSS的系统介绍+如何使用RSS进行订阅+阅读(视频教程)") | ||
|
||
--- | ||
|
||
* **作者**:Judas.n [作者Blog](http:https://www.YouMeek.com "个人博客") | ||
* **时间**:2013年12月14日 09:17:20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#IntelliJ IDEA字体修改 | ||
|
||
--- | ||
|
||
* **工具名称**:IntelliJ IDEA | ||
* **工具版本**:13.0 | ||
* **操作系统**:windows 8 | ||
* **问题描述**: | ||
在修改字体的时候,需要注意的一点就是,如果你所选择字体不支持中文(大部分外国字体,只支持英文,不支持中文),那就会很容易照成乱码。 | ||
* **解决方案**: | ||
|
||
>详细配图解答过程请移步:[http:https://t.cn/8kyIsyi](http:https://t.cn/8kyIsyi "笔记记录") | ||
--- | ||
|
||
* **作者**:Judas.n [作者Blog](http:https://www.YouMeek.com "个人博客") | ||
* **时间**:2013年12月10日 20:24:25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#Mac系统下控制台输出乱码 | ||
|
||
--- | ||
|
||
* **工具名称**:IntelliJ IDEA | ||
* **工具版本**:12.1.6 | ||
* **操作系统**:Mac OS | ||
* **问题描述**: | ||
![问题描述](http:https://external-img.b0.upaiyun.com/mac-system-IntelliJ-IDEA-Chinese-garbled.jpg) | ||
* **解决方案**: | ||
在配置IntelliJ IDEA的tomcat时,给VM选项添加此参数:-Dfile.encoding=UTF-8 | ||
更具体请参考http:https://www.kafeitu.me/tools/2013/03/26/intellij-deal-chinese-disorderly-code.html | ||
|
||
--- | ||
|
||
* **作者**:Judas.n [作者Blog](http:https://www.YouMeek.com "个人博客") | ||
* **时间**:2014年2月9日 16:57:28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.