idea快速生成项目结构图

IDEA

在写文档的时候,想把项目输出成文档树的形式,可以使用以下命令

tree  >> D:/tree.txt 只有文件夹

tree /f >> D:/tree.txt 包括文件夹和文件

结果如下:

D:.
├─.idea
│ └─inspectionProfiles
├─etc
│ └─sql
├─logs
├─src
│ ├─main
│ │ ├─java
│ │ │ ├─com
│ │ │ │ └─lizhaoblog
│ │ │ │ ├─base
│ │ │ │ │ ├─concurrent
│ │ │ │ │ │ ├─commond
│ │ │ │ │ │ ├─dictionary
│ │ │ │ │ │ └─handler
│ │ │ │ │ ├─constant
│ │ │ │ │ ├─exception
│ │ │ │ │ ├─factory
│ │ │ │ │ ├─mybatis
│ │ │ │ │ ├─network
│ │ │ │ │ │ ├─customer
│ │ │ │ │ │ ├─listener
│ │ │ │ │ │ └─processor
│ │ │ │ │ ├─session
│ │ │ │ │ └─util
│ │ │ │ ├─demopro
│ │ │ │ │ └─net
│ │ │ │ └─server
│ │ │ │ ├─biz
│ │ │ │ │ ├─constant
│ │ │ │ │ ├─dao
│ │ │ │ │ │ └─mysql
│ │ │ │ │ ├─dictionary
│ │ │ │ │ ├─entity
│ │ │ │ │ ├─handler
│ │ │ │ │ └─services
│ │ │ │ │ └─impl
│ │ │ │ ├─channel
│ │ │ │ │ └─tcp
│ │ │ │ │ └─str
│ │ │ │ ├─core
│ │ │ │ │ ├─customer
│ │ │ │ │ ├─listener
│ │ │ │ │ └─processor
│ │ │ │ └─pojo
│ │ │ └─org
│ │ │ └─apache
│ │ │ └─ibatis
│ │ │ └─builder
│ │ │ └─annotation
│ │ └─resources
│ │ ├─mybatis
│ │ │ └─jpa
│ │ ├─properties
│ │ └─spring
│ └─test
│ └─java
│ └─com
│ └─lizhaoblog
│ ├─common
│ ├─demopro
│ │ └─net
│ ├─javase
│ └─server
│ └─channel
│ └─tcp
│ └─str
└─target

————————————————
版权声明:本文为CSDN博主「cmqwan」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/cmqwan/article/details/80953062

原文地址:https://www.cnblogs.com/shuai7boy/p/12850967.html