Skip to content

Commit 6aa553e

Browse files
committed
fixed picture of articles
1 parent d03fe76 commit 6aa553e

5 files changed

Lines changed: 29 additions & 31 deletions

File tree

articles/color-code.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,51 @@
44

55
- `VibrantUnknown(Darcula)`
66

7-
![VibrantUnknown](http://img.blog.csdn.net/20180114142009784)
7+
![VibrantUnknown](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/VibrantUnknown.png)
88

99
- `FadeComments`
1010

11-
![FadeComments](http://img.blog.csdn.net/20180114142302266)
11+
![FadeComments](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/FadeComments.png)
1212

1313
- `NicePython`
1414

15-
![NicePython](http://img.blog.csdn.net/20180114142442597)
15+
![NicePython](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/NicePython.png)
1616

1717
- `Solarized`
1818

19-
![Solarized](http://img.blog.csdn.net/20180114142559120)
19+
![Solarized](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/Solarized.png)
2020

2121
- `Havenjark`
2222

23-
![Havenjark](http://img.blog.csdn.net/20180114142705409)
23+
![Havenjark](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/Havenjark.png)
2424

2525
- `GeditForElegantGnome`
2626

27-
![GeditForElegantGnome](http://img.blog.csdn.net/20180114142839139)
27+
![GeditForElegantGnome](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/GeditForElegantGnome.png)
2828

2929
- `Gvim`
3030

31-
![Gvim](http://img.blog.csdn.net/20180114143009663)
31+
![Gvim](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/Gvim.png)
3232

33-
在选完我们中意的主题之后,需要大家到「[intellij-idea-tutorial](https://github.com/guobinhit/intellij-idea-tutorial/tree/master/resources/idea-theme)」中下载相应的主题。以「[SublimeMonoKai](https://github.com/guobinhit/intellij-idea-tutorial/tree/master/resources)」主题为例:
33+
在选完我们中意的主题之后,需要大家到「[intellij-idea-tutorial](https://github.com/guobinhit/intellij-idea-tutorial/tree/master/resources/idea-theme)」中下载相应的主题。以「[SublimeMonoKai](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/resources/idea-theme/SublimeMonoKai.jar)」主题为例:
3434

35-
![03](http://img.blog.csdn.net/20180114150221097)
35+
![idea-theme](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/idea-theme.png)
3636

3737
如上图所示,到 GitHub 中下载`jar`包,备用。然后,
3838

39-
![import](http://img.blog.csdn.net/20170927095830313)
39+
![import-settings](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/import-settings.png)
4040

4141
依次选择`File -> Import Settings`,导入我们已经下载完的「SublimeMonoKai」主题的`jar`包。
4242

43-
![pre](http://img.blog.csdn.net/20170927100158557)
43+
![preferences](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/preferences.png)
4444

4545
以 Mac 为例,再选择`IntelliJ IDEA -> Preferences`,进入`Preferences`
4646

47-
![sub](http://img.blog.csdn.net/20170927100220245)
47+
![colors-fonts](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/colors-fonts.png)
4848

4949
然后选择`Colors & Fonts`,设置`Scheme``SublimeMonoKai`即可。在我们完成以上操作,重新启动 IntelliJ IDEA 之后(必须重新启动才能生效),效果如下图所示:
5050

51-
![Sublime](http://img.blog.csdn.net/20170927100239762)
51+
![assignment](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/color-code/assignment.png)
5252

5353
最后,希望大家在编程的时候都能够有一个愉悦的心情!
5454

articles/compare-code.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Sometimes,我们会有这样的需求,即:**想对比出两个不同版本
44

55
- **第 1 种**:如果我们是从 SVN 检出的项目,并且想比较本地代码与从 SVN 检出时的代码相比都有那些区别,可以按如下步骤操作,
66

7-
![subversion](http://img.blog.csdn.net/20171230180849921)
7+
![show-history](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/compare-code/show-history.png)
88

99
如上图所示,在代码编辑区,`右键`唤出功能菜单,然后选择`Subversion`,进而会展示出更多的可选项,例如:
1010

@@ -18,15 +18,15 @@ Sometimes,我们会有这样的需求,即:**想对比出两个不同版本
1818

1919
- **第 2 种**:比较本地两份代码的区别,可以按如下步骤操作,
2020

21-
![SRC](http://img.blog.csdn.net/20171230181953282)
21+
![compare-with](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/compare-code/compare-with.png)
2222

2323
首先,选中目标文件夹(图中选择`src`文件夹),`右键`唤出功能菜单,然后点击`Compare With`
2424

25-
![bijou](http://img.blog.csdn.net/20171230182318846)
25+
![local-project](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/compare-code/local-project.png)
2626

2727
如上图所示,选中本地另一份想要与之对比的代码的相同目录,然后点击`Open`或者`打开``确定`按钮:
2828

29-
![3](http://img.blog.csdn.net/20171230182703972)
29+
![show-diff](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/compare-code/show-diff.png)
3030

3131
如上图所示,清晰明了的展示了两份代码的区别。
3232

articles/conflict-jar.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22

33
在实际的 Maven 项目开发中,由于项目引入的依赖过多,遇到 jar 冲突算是一个很常见的问题了。在本文中,我们就一起来看看,如何使用 IntelliJ IDEA 解决 jar 包冲突的问题!简单粗暴,直接上示例:
44

5-
![mavenProject](https://img-blog.csdn.net/2018033009572529)
5+
![maven-project](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/conflict-jar/maven-project.png)
66

77
- **标注 1**`Maven Project`,Maven 项目选项;
88
- **标注 2**`Dependencies`,项目依赖;
99
- **标注 3**`Show Dependencies`,展示项目依赖图。
1010

1111
其中,只有在点击 **标注 2** 所示的`Dependencies`之后,才会显示 **标注 3** 所示的`Show Dependencies`按钮。在这里,我们点击`Show Dependencies`按钮:
1212

13-
![mavenD](https://img-blog.csdn.net/20180330095755380)
13+
![show-dependencies](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/conflict-jar/show-dependencies.png)
1414

1515
如上图所示,展示了我们项目的依赖图。But,依赖图太小了,根本没法看啊?好办,点击鼠标右键,呼出右键菜单栏,然后点击`Actual Size`
1616

17-
![autoSize](https://img-blog.csdn.net/20180330095825879)
17+
![actual-size](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/conflict-jar/actual-size.png)
1818

1919
如上图所示,项目依赖图的尺寸放大了,这回利于我们排除 jar 包冲突的问题啦!
2020

21-
![conflict](https://img-blog.csdn.net/20180330095848878)
21+
![jar-picture](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/conflict-jar/jar-picture.png)
2222

2323
如果我们仔细观察上图,会发现在项目依赖图中,有一些红色标记的线,实际上,这些红色标记出来的线所指向的 jar 包,就是项目中冲突的 jar 包!且在我们点击 jar 包之后,还会显示出多条指向 jar 包的红色虚线,其代表着该 jar 包被多次引用,及具体引用路径。
2424

25-
![exclude](https://img-blog.csdn.net/20180330095906451)
25+
![exclude-jar](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/conflict-jar/exclude-jar.png)
2626

2727
如上图所示,想要排除冲突的 jar 包,其方法为:**点击冲突的 jar 包,右键呼出菜单栏,点击`Exclude`选项**
2828

29-
![ok](https://img-blog.csdn.net/20180330095932575)
29+
![test-exclude-jar](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/conflict-jar/test-exclude-jar.png)
3030

3131
如上图所示,在排除冲突的 jar 包之后,`pom.xml`文件会自动更新,添加排除语句。
3232

articles/remote.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
55
首先,配置`remote`
66

7-
![1](http://img.blog.csdn.net/20171111163857328)
7+
![edit-configurations](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/remote/edit-configurations.png)
88

99
如上图所示,点击`Edit Configurations`,进入如下界面:
1010

11-
![2](http://img.blog.csdn.net/20171111164103227)
11+
![remote](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/remote/remote.png)
1212

1313
如上图所示,我们进入了`Run/Debug Configurations`界面,然后点击左上角的`+`,选择`Remote`
1414

15-
![remote](http://img.blog.csdn.net/20180103164200755)
15+
![remote-debug](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/remote/remote-debug.png)
1616

1717
- **标注 1**:运行远程 JVM 的命令行参数;
1818
- **标注 2**:传输方式,默认为`Socket`
@@ -45,7 +45,7 @@
4545

4646
接下来,修改 Tomcat 的 bin 目录下的`catalina.sh`文件(如果是 Windows 系统则修改`catalina.bat`文件),将上述的导入语句添加到此文件中即可:
4747

48-
![cata](http://img.blog.csdn.net/20180103164534540)
48+
![catalina-edit](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/remote/catalina-edit.png)
4949

5050
至此,IntelliJ IDEA 远程调试 Tomcat 的配置已经完成了,调试的后续步骤按正常的调试技巧进行就可以啦!
5151

@@ -57,7 +57,7 @@
5757

5858
  在这里,我们假设服务器的 IP 地址为`10.11.12.39`,端口号为`16203`,设置完成后,进入`Debug`模式,如果连接成功,则会出现如下提示:
5959

60-
![5](http://img.blog.csdn.net/20171111170443363)
60+
![test-remote-debug](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/remote/test-remote-debug.png)
6161

6262
  此外,如果我们是跨多个系统进行调试,则只需要在想要调试的系统中配置`Remote`,打上断点,启动`Debug`模式,然后在服务开始的地方执行程序即可进入到我们设置的断点。而且,如果我们在本地配置`Remote`并关联到某个 Tomcat,在`Debug`模式下,所有涉及到断点所在代码的功能,都会进入我们设置的断点。
6363

articles/schedule.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313

1414
![schedule-newfile](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/schedule/schedule-newfile.png)
1515

16-
如上图所示,当我们创建了一个名为`IdeaTest`的 Java 类的时候,IDEA 给出了同样的提示。当然,前提是我们并没有选择`Remember,don't ask again`,如果勾选了此内容,则不会再给出提示,并默认我们当时的选择。
17-
18-
最后,我们尝试提交代码,测试 IDEA 的表现:
16+
如上图所示,当我们创建了一个名为`IdeaTest`的 Java 类的时候,IDEA 给出了同样的提示。当然,前提是我们并没有选择`Remember,don't ask again`,如果勾选了此内容,则不会再给出提示,并默认我们当时的选择。最后,我们尝试提交代码,测试 IDEA 的表现:
1917

2018
![commit-changes](https://github.com/guobinhit/intellij-idea-tutorial/blob/master/images/schedule/commit-changes.png)
2119

0 commit comments

Comments
 (0)