Skip to content

Commit

Permalink
123
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh0ami-hy committed Oct 7, 2024
1 parent ef0a2fb commit ece0f48
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 22 deletions.
42 changes: 22 additions & 20 deletions _posts/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"id": "697d5a33b3301ddf",
"type": "tabs",
"dimension": 76.97228144989339,
"dimension": 76.4745308310992,
"children": [
{
"id": "ebc7a8a3c2841616",
Expand All @@ -19,25 +19,25 @@
"source": false
}
},
"group": "8672a8aef0698096"
"group": "729b424710a02fd8"
}
]
},
{
"id": "7e09a66e0483a838",
"id": "fde025f9876b5fc1",
"type": "tabs",
"dimension": 23.02771855010661,
"dimension": 23.525469168900806,
"children": [
{
"id": "d8185bc77621225f",
"id": "07f0a2d10a742e18",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "2023-01-12-IDEA使用.md"
}
},
"group": "8672a8aef0698096"
"group": "729b424710a02fd8"
}
]
}
Expand Down Expand Up @@ -68,7 +68,7 @@
"state": {
"type": "search",
"state": {
"query": "",
"query": "file:idea",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
Expand All @@ -85,11 +85,13 @@
"state": {}
}
}
]
],
"currentTab": 1
}
],
"direction": "horizontal",
"width": 300
"width": 300,
"collapsed": true
},
"right": {
"id": "d508948902057409",
Expand Down Expand Up @@ -170,29 +172,26 @@
},
"left-ribbon": {
"hiddenItems": {
"switcher:Open quick switcher": false,
"graph:Open graph view": false,
"canvas:Create new canvas": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false,
"command-palette:Open command palette": false
"switcher:打开快速切换": false,
"graph:查看关系图谱": false,
"canvas:新建白板": false,
"daily-notes:打开/创建今天的日记": false,
"templates:插入模板": false,
"command-palette:打开命令面板": false
}
},
"active": "ebc7a8a3c2841616",
"lastOpenFiles": [
"2024-09-25-Javadoc 最佳实践.md",
"2023-01-12-IDEA使用.md",
"2023-02-12-Java初级.md",
"2024-09-10-Taro开发实践.md",
"2023-05-24-Java实用工具库.md",
"新建文本文档.txt",
"2024-09-25-Javadoc 最佳实践.md",
"2024-08-26-React入门.md",
"2024-08-30-React最佳实践.md",
"2023-01-12-JavaScript入门.md",
"2024-08-29-VSCode使用.md",
"2023-11-29-Windows定制.md",
"2024-09-17-nvm使用.md",
"2021-07-01-Python正则.md",
"2023-05-24-Java实用工具库.md",
"2023-12-30-node.md",
"2024-09-16-Vue转Electron.md",
"2024-09-14-以太网协议.md",
Expand All @@ -207,6 +206,9 @@
"2023-09-24-Linux基本命令.md",
"2024-01-12-MySQL时区问题.md",
"2024-09-02-React开发总结.md",
"2024-07-29-网页访问的历程.md",
"新建文本文档.txt",
"2024-06-25-数据库系统概论.md",
"2024-09-09-什么是状态.tx",
"Untitled"
]
Expand Down
10 changes: 8 additions & 2 deletions _posts/2023-01-12-IDEA使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,18 @@ idea支持debug过程中动态设置断点
- shift + F8:跳出方法
- F9:执行到下一个断点

# 7. 格式化代码
# 7. 自动格式化代码

安装 google-java-format插件 + Save Actions 插件

重启idea

启用google-java-format,`other setting -> google-java-format -> 勾选 enable Google-Java-format`

启用Save Actions,`other setting -> Save Actions -> 勾选 active save action on save、勾选organize import、勾选reformat file`
启用Save Actions,`other setting -> Save Actions -> 勾选 active save action on save、勾选organize import、勾选reformat file`

# 8. 当关闭IDEA时,提示“Closing project”

`菜单 -> Help -> Find Action -> 输入“Registry” -> 在提示结果点击“Registry..”`

去掉`“ide.await.scope.completion”`的勾选

0 comments on commit ece0f48

Please sign in to comment.