Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins committed Aug 4, 2023
1 parent cdefa31 commit 02ed417
Show file tree
Hide file tree
Showing 12 changed files with 91 additions and 59 deletions.
1 change: 1 addition & 0 deletions DBS/关系型数据库.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ select trunc(sysdate) + 0.99999 from dual;

* [https://github.com/digoal/blog](https://github.com/digoal/blog)
* 开发指南 [https://github.com/dongxuyang1985/postgresql_dev_guide](https://github.com/dongxuyang1985/postgresql_dev_guide)
* [不剪发的Tony老师《SQL编程思想》作者](https://www.zhihu.com/people/dongxuyang85/posts)
* [Postgresql库常用系统表](https://blog.csdn.net/jsbylibo/article/details/108448400)
* [PostgreSQL upsert(插入更新)教程](https://blog.csdn.net/neweastsun/article/details/112147693)
* [PostgreSQL_树形结构的递归查询](https://juejin.cn/post/6844904061414670350)
Expand Down
128 changes: 73 additions & 55 deletions IDE/Eclipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,38 +26,10 @@
* [STS(eclipse)中文注释错位、缩进、被放大BUG解决](https://blog.csdn.net/u013600314/article/details/85262257)
* [Eclipse的设置、调优、使用(解决启动卡顿等问题)](https://lexsaints.blog.csdn.net/article/details/80661377)


- `Windows` -> `Preference` -> `General`
- `Workspace`
- `Build`
- `Save automatically before manual build` 在手动构建之前自动保存
- `Build automatically`(同`Project`菜单下的按钮) 自动编译
- `Refresh using native hooks or polling` 自动刷新文件
- `Refresh on access` 访问时刷新
- `Always close unrelated projects without prompt` 总是在不提示的情况下关闭不相关项目
- `Workspace save interval (in minutes)` 工作区保存时间间隔(分钟)
- `Startup and Shutdown`
- `Refresh workspace on startup` 启动时刷新工作空间


> 创建`Dynamic Web Project`项目结构静态资源目录为:`WebContent`/`WebRoot`,idea创建的为`web`
> 导入的项目没有正确自动识别:在项目上右键选择`Properties`然后检查`Project Facets``Project Natures`

**查看类图及继承关系**

+ 选中类,右键然后有以下选项
+ `Open Declaration` <kdb>F3</kdb>
+ `Open Type Hierarchy` <kdb>F4</kdb> 打开类层次结构查看窗口,显示包括它的父类和子类
+ `Show the Subtype Hierarchy` 只查看子类
+ `Show the Supertype Hierarchy` 只查看父类
+ `Open Call Hierarchy` <kdb>Ctrl</kdb>+<kdb>Alt</kdb>+<kdb>H</kdb>
+ `Show in Breadcrumb` <kdb>Alt</kdb>+<kdb>Shift</kdb>+<kdb>B</kdb> 面包屑导航
+ `Quick Outline` <kdb>Ctrl</kdb>+<kdb>O</kdb>
+ `Quick Type Hierarchy` <kdb>Ctrl</kdb>+<kdb>T</kdb> 打开类层次结构查看弹窗,显示包括它的父类和子类




**快捷生成调用实例set方法**

Expand All @@ -74,26 +46,6 @@
> 文件路径为`%USERPROFILE%\.lemminx\cache\http\mybatis.org\dtd\mybatis-3-config.dtd`

**Clean Up、Format、Clean**

- 顶部菜单 -> `Source` -> `Clean Up` 针对代码的内容进行整理,比如去除无用代码或者引用包。
- 顶部菜单 -> `Source` -> `Organize Imports` 去除单个类中无用的引用包信息<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd>
- 顶部菜单 -> `Source` -> `Format` 对代码的格式进行整理,比如设置了`Table`为4个空格,那么将会转换。
- 顶部菜单 -> `Project` -> `Clean` 根据项目`.classpath`文件,清除编译信息,重新部署到`Java Build Path`下的`Default output folder`中。
- `Servers` -> `Clean` 是指原先编译到tomcat服务器上的程序,先清除掉,然后再重新编译。
- `Servers` -> `Clean Tomcat Work Directory...` 将已发布项目中存放jsp转译后的class文件的work目录删除


**项目显示结构**

- `Windows` -> `Show View` -> `Other` -> 搜索 `Package Exploer`
- `Windows` -> `Show View` -> `Other` -> 搜索 `Tasks` 查看待办任务

+ `Window` -> `Preferences` -> `Java` -> `Compiler` -> `Task tags` 定义任务标签
+ `// TODO` 表示尚未完成的待办事项。
+ `// XXX` 表示被注释的代码虽然实现了功能,但是实现方案有待商榷,希望将来能改进。
+ `// FIXME` 表示被注释的代码需要被修正。


**WebStorm保存后跳过Eclipse自动同步到Tomcat**

Expand All @@ -109,6 +61,14 @@
> 其实原理很简单:就是在保存源码文件的同时,实时编译构建同步的时候跳过Eclipse,直接同步到Tomcat部署的当前项目目录


## 右键菜单

- `Window` -> `Perspective` -> `Customize Perspective`
- `Shortcuts` 新建选项



## 安装Java EE开发插件

> 默认没有 `Dynamic Web Project`
Expand All @@ -130,6 +90,11 @@
* [General > Editors > Text Editors](https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-texteditorprefs.htm)


- 顶部菜单 -> `Source` -> `Clean Up` 针对代码的内容进行整理,比如去除无用代码或者引用包。
- 顶部菜单 -> `Source` -> `Format` 对代码的格式进行整理,比如设置了`Table`为4个空格,那么将会转换。
- 顶部菜单 -> `Source` -> `Organize Imports` 去除单个类中无用的引用包信息<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd>


**垂直标尺**

+ `Window` -> `Preferences` -> `General` -> `Editors` -> `Text Editors` -> `Show Print Margin`
Expand Down Expand Up @@ -218,16 +183,68 @@
* [Eclipse 开启代码提示与关闭变量命名补全](https://xienaoban.github.io/posts/32764)

- `Window` -> `Preferences` -> `Java` -> `Editor` -> `Content Assist`
- `Auto Activation` 下的` Auto Activation triggers for java` 填入 `._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`
- 解决输入`=``;`变量自动补全问题:勾选 `Disable insertion triggers except 'Enter'` (按<kbd>Enter</kbd>键才自动补全)
- 展开后选中`Advanced` 勾选所有,其中最重要的是`Java Proposals`
- XML自动补全 `Windows` -> `preferance` -> `XML` -> `XML Files` -> `Editor` -> `Content Assist` -> `Auto Activation`下面的
`Prompt when these characters are inserted` 填入 `<=:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ `(注意后面有一个空格)
- `Auto Activation`
- `Auto activation delay(ms)` 提示的延迟时间
- ` Auto Activation triggers for java` 填入 `._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(,'"@`
- `Advanced`
- 勾选`Java Proposals (Task-Focused)`
- 勾选`Template Proposals`
- 解决输入`=``;`变量自动补全问题:勾选 `Disable insertion triggers except 'Enter'` (按<kbd>Enter</kbd>键才自动补全)
- XML自动补全 `Windows` -> `preferance` -> `XML` -> `XML Files` -> `Editor` -> `Content Assist`
- `Auto Activation`下面的`Prompt when these characters are inserted` 填入 `<=:.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ `(注意后面有一个空格)
-`@`不提示注解:`Window` -> `Preferences` -> `Java` -> `Editor` -> `Content Assist`
- `Advanced` 下把`java Proposals`勾上
- `Enable non-blocking completion(does not affect open editors)` 启用非阻塞完成(不影响打开的编辑器)
- `Window` -> `Preferences` -> `Java` -> `Editor` -> `Mark Occurences`
- `Mark occurrences of the selected element in the current file.` 高亮显示选中的相同变量



## 清除缓存


- 顶部菜单 -> `Project` -> `Clean` 根据项目`.classpath`文件,清除编译信息,重新部署到`Java Build Path`下的`Default output folder`中。
- `Servers` -> `Clean` 是指原先编译到tomcat服务器上的程序,先清除掉,然后再重新编译。
- `Servers` -> `Clean Tomcat Work Directory...` 将已发布项目中存放jsp转译后的class文件的work目录删除


## 自动刷新

- `Windows` -> `Preference` -> `General`
- `Workspace`
- `Build`
- `Save automatically before manual build` 在手动构建之前自动保存
- `Build automatically`(同`Project`菜单下的按钮) 自动编译
- `Refresh using native hooks or polling` 自动刷新文件
- `Refresh on access` 访问时刷新
- `Always close unrelated projects without prompt` 总是在不提示的情况下关闭不相关项目
- `Workspace save interval (in minutes)` 工作区保存时间间隔(分钟)
- `Startup and Shutdown`
- `Refresh workspace on startup` 启动时刷新工作空间


## 查看类图及继承关系

+ 选中类,右键然后有以下选项
+ `Open Declaration` <kdb>F3</kdb>
+ `Open Type Hierarchy` <kdb>F4</kdb> 打开类层次结构查看窗口,显示包括它的父类和子类
+ `Show the Subtype Hierarchy` 只查看子类
+ `Show the Supertype Hierarchy` 只查看父类
+ `Open Call Hierarchy` <kdb>Ctrl</kdb>+<kdb>Alt</kdb>+<kdb>H</kdb>
+ `Show in Breadcrumb` <kdb>Alt</kdb>+<kdb>Shift</kdb>+<kdb>B</kdb> 面包屑导航
+ `Quick Outline` <kdb>Ctrl</kdb>+<kdb>O</kdb>
+ `Quick Type Hierarchy` <kdb>Ctrl</kdb>+<kdb>T</kdb> 打开类层次结构查看弹窗,显示包括它的父类和子类


* 解决按下`@`不提示注解:`Window` -> `Preferences` -> `Java` -> `Editor` -> `Content Assist` -> `Advanced` 下把`java Proposals`勾上
* `Enable non-blocking completion(does not affect open editors)` 启用非阻塞完成(不影响打开的编辑器)
## 项目显示结构

- `Windows` -> `Show View` -> `Other` -> 搜索 `Package Exploer`
- `Windows` -> `Show View` -> `Other` -> 搜索 `Tasks` 查看待办任务

+ `Window` -> `Preferences` -> `Java` -> `Compiler` -> `Task tags` 定义任务标签
+ `// TODO` 表示尚未完成的待办事项。
+ `// XXX` 表示被注释的代码虽然实现了功能,但是实现方案有待商榷,希望将来能改进。
+ `// FIXME` 表示被注释的代码需要被修正。


## 显示内存
Expand Down Expand Up @@ -483,6 +500,7 @@
- [https://github.com/java-decompiler/jd-eclipse](https://github.com/java-decompiler/jd-eclipse)
- [https://github.com/cnfree/Eclipse-Class-Decompiler](https://github.com/cnfree/Eclipse-Class-Decompiler)
- [https://github.com/helospark/import-jar-as-project](https://github.com/helospark/import-jar-as-project)
- [https://sourceforge.net/projects/drgarbagetools](https://sourceforge.net/projects/drgarbagetools)
- 测试 [https://github.com/ot4i/perf-harness](https://github.com/ot4i/perf-harness)


Expand Down
3 changes: 3 additions & 0 deletions IDE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
- [https://github.com/atlassian](https://github.com/atlassian)
- [https://github.com/salesforce/CodeTF](https://github.com/salesforce/CodeTF)
- [https://github.com/THUDM/CodeGeeX2](https://github.com/THUDM/CodeGeeX2)
- 代码转换 [https://github.com/JustAIGithub/AI-Code-Convert](https://github.com/JustAIGithub/AI-Code-Convert)
- DevOps指南 [https://github.com/Tikam02/DevOps-Guide](https://github.com/Tikam02/DevOps-Guide)
- [https://github.com/annfelix/DEVOPS-WORLD](https://github.com/annfelix/DEVOPS-WORLD)

Expand Down Expand Up @@ -234,6 +235,7 @@
+ [https://gitee.com/explore/dbmanager](https://gitee.com/explore/dbmanager)


* [https://github.com/slashbaseide/slashbase](https://github.com/slashbaseide/slashbase)
* [https://github.com/dbeaver/dbeaver](https://github.com/dbeaver/dbeaver)
* [https://dbeaver.io](https://dbeaver.io)
* [https://dbeaver.com/download/enterprise](https://dbeaver.com/download/enterprise)
Expand Down Expand Up @@ -423,6 +425,7 @@
* [https://www.httpwatch.com](https://www.httpwatch.com)
* [http://www.httpdebugger.com](http://www.httpdebugger.com)
* [https://github.com/avwo/whistle](https://github.com/avwo/whistle)
* [https://github.com/avwo/whistle-client](https://github.com/avwo/whistle-client)
* QPA [https://github.com/l7dpi/openQPA](https://github.com/l7dpi/openQPA)
* [Microsoft Network Monitor](https://www.microsoft.com/en-us/download/details.aspx?id=4865)

Expand Down
1 change: 1 addition & 0 deletions IDE/TextEditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* [https://github.com/neovide/neovide](https://github.com/neovide/neovide)
* [https://github.com/nshen/learn-neovim-lua](https://github.com/nshen/learn-neovim-lua)
* [https://github.com/LazyVim/LazyVim](https://github.com/LazyVim/LazyVim)
* [https://github.com/ervandew/eclim](https://github.com/ervandew/eclim)
* [https://github.com/helix-editor/helix](https://github.com/helix-editor/helix)
* [https://github.com/file-acomplaint/kyun](https://github.com/file-acomplaint/kyun)
* [https://github.com/rizonesoft/Notepad3](https://github.com/rizonesoft/Notepad3)
Expand Down
4 changes: 2 additions & 2 deletions Java/Java第三方库.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@



> JSON-B,即Java API for JSON Binding。
>
+ [https://github.com/json-schema-org](https://github.com/json-schema-org)
+ JSON-P [https://github.com/eclipse-ee4j/jsonp](https://github.com/eclipse-ee4j/jsonp)
+ JSON-B [https://github.com/jakartaee/jsonb-api](https://github.com/jakartaee/jsonb-api)
+ JSON库基准测试[https://github.com/fabienrenaud/java-json-benchmark](https://github.com/fabienrenaud/java-json-benchmark)


Expand Down
1 change: 1 addition & 0 deletions Other/书籍和博客.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
* caj云阅读 [http://cajviewer.cnki.net/cajcloud](http://cajviewer.cnki.net/cajcloud)
* 必看网(人生必看的书籍) [https://www.biikan.com](https://www.biikan.com)
* [极客学院Wiki - IT 技术图文教程库](http://wiki.jikexueyuan.com)
* [野桃子教程](https://www.yetaozi.cn)
* C语言中文网 [http://c.biancheng.net](http://c.biancheng.net)
* [教程相关-蒲公英云](http://www.dandelioncloud.cn/classify)
* [首页 - 廖雪峰的官方网站](https://www.liaoxuefeng.com)
Expand Down
1 change: 1 addition & 0 deletions PL/C.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
+ [GCC ,Clang 与 make,cmake 一览](https://www.jianshu.com/p/990ee4b9c5d3)


* [https://github.com/theicfire/makefiletutorial](https://github.com/theicfire/makefiletutorial)
* [https://www.gnu.org/software/make](https://www.gnu.org/software/make)
* [https://github.com/Kitware/CMake](https://github.com/Kitware/CMake)
* [https://cmake.org/download](https://cmake.org/download)
Expand Down
1 change: 1 addition & 0 deletions PL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
+ [https://github.com/kotlin-hands-on](https://github.com/kotlin-hands-on)


- 编译器插件 [https://github.com/square/anvil](https://github.com/square/anvil)
- 序列化 [https://github.com/avro-kotlin/avro4k](https://github.com/avro-kotlin/avro4k)
- 静态代码分析 [https://github.com/detekt/detekt](https://github.com/detekt/detekt)
- [https://github.com/mockk/mockk](https://github.com/mockk/mockk)
Expand Down
2 changes: 1 addition & 1 deletion PL/交互协议.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
- SSH (Secure Shell)
- SMTP(Simple Mail Transfer Protocol)
- SNMP(simple Network Management Protocol)
- Socket 是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。
- [Socket](https://mp.weixin.qq.com/s/Ebvjy132eRDOmcIL5cmxJw) 是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。
- 在设计模式中,Socket其实就是一个门面模式,它把复杂的TCP/IP协议族隐藏在Socket接口后面
- AMQP(Advanced Message Queuing Protocol,高级消息队列协议)
- XMPP(Extensible Messaging and Presence Protocol,Jabber)
Expand Down
5 changes: 4 additions & 1 deletion PL/文档处理.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@


- [https://github.com/cbor](https://github.com/cbor)
- BSON( Binary Serialized Document Format) [https://bsonspec.org](https://bsonspec.org)
- BSON(Binary Serialized Document Format) [https://bsonspec.org](https://bsonspec.org)
- [http://www.bjson.org](http://www.bjson.org)
- [https://github.com/json-schema-org](https://github.com/json-schema-org)
- [https://json-schema.org](https://json-schema.org)
- [https://www.json.org/json-zh.html](https://www.json.org/json-zh.html)
- [https://github.com/SchemaStore/schemastore](https://github.com/SchemaStore/schemastore)
- [https://github.com/json-api/json-api](https://github.com/json-api/json-api)
Expand Down
1 change: 1 addition & 0 deletions System/Android.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@
* [https://github.com/lapism/search](https://github.com/lapism/search)
* 多点触控 [https://github.com/DeviceFarmer/minitouch](https://github.com/DeviceFarmer/minitouch)
* [https://github.com/MaaAssistantArknights/MaaTouch](https://github.com/MaaAssistantArknights/MaaTouch)
* 密码存储 [https://github.com/android-password-store](https://github.com/android-password-store)



Expand Down
2 changes: 2 additions & 0 deletions System/Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- [Linux包管理器及包安装工具基础知识](https://blog.csdn.net/u013430110/article/details/107329350)

* 软件包管理器 [https://github.com/NixOS/nix](https://github.com/NixOS/nix)
* [https://github.com/ryan4yin/nixos-and-flakes-book](https://github.com/ryan4yin/nixos-and-flakes-book)
* [https://github.com/joyent/pkgsrc](https://github.com/joyent/pkgsrc)
* [https://github.com/TritonDataCenter/pkgsrc](https://github.com/TritonDataCenter/pkgsrc)
* [https://github.com/NetBSDfr](https://github.com/NetBSDfr)
Expand Down Expand Up @@ -132,6 +133,7 @@
- [https://github.com/iputils/iputils](https://github.com/iputils/iputils)
- [https://github.com/kjn/lbzip2](https://github.com/kjn/lbzip2)
- [https://github.com/illiliti/libudev-zero](https://github.com/illiliti/libudev-zero)
- [https://github.com/red-data-tools/YouPlot](https://github.com/red-data-tools/YouPlot)
- 系统日志管理 [https://github.com/hat-open/hat-syslog](https://github.com/hat-open/hat-syslog)


Expand Down

0 comments on commit 02ed417

Please sign in to comment.