1. 目标格式,使用tree命令时,目录树格式如下. public class TreeTest { public static void main(String[] args) { File root = new File("${path}/apache-tomcat-7.0.93/webapps/manager/"); tree(root, 0, -1, ""); } public static void tree(File file, int index, i
windows + R ⇒ 输入 cmd ⇒ 进入 windows 命令行界面: tree/?:命令提示: tree:不输入任何参数,输出一棵目录树 不显示文件,只显示目录: tree/F:递归显示目录结构: 显示目录,也显示文件: tree /F,在给出项目文件说明时,会十分有用: 1. 重定向到文本文件 tree /f > info.txt tree > info.txt
Atitit.ide代码块折叠插件 eclipse 1. User Defined Regions #region ... #endregion 插件com.cb.eclipse.folding 1 2. If else for 折叠插件 1 3. 在eclipse 中开启设置代码折叠功能 Ctrl+Shift+Numpad_Divede(小键盘的/号) 2 4. 2 1. User Defined Regions #region ... #endregion 插件com.cb