Skip to content

Commit

Permalink
2017-02-22补充生成serialVersionUID方法
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Feb 22, 2017
1 parent 216b336 commit 5d2be53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file added images/xxvi-a-settings-introduce-42.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/xxvi-a-settings-introduce-43.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions settings-introduce-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ IntelliJ IDEA 有很多人性化的设置我们必须单独拿出来讲解,也
> * 所以,为了减少自己手动 install 的过程,可以把 install 过程放在项目启动之前,就像 Gif 所示那样。

![常用设置](images/xxvi-a-settings-introduce-42.jpg)
![常用设置](images/xxvi-a-settings-introduce-43.jpg)

> * 默认 IntelliJ IDEA 是没有开启自动帮你生成 serialVersionUID 的,需要我们自行设置。
> * 如上图第一张,需要先勾选:`Serializable class without serialVersionUID`
> * 如上图第二张,在已经继承了 Serializable 接口的类名上,把光标放在类名上(必须这样做),按 `Alt + Enter`,即可提示帮你生成 serialVersionUID 功能。


Expand Down

0 comments on commit 5d2be53

Please sign in to comment.