我想打印我的spring项目目录树,可能是intellij想法。 是否有任何maven或spring引导命令使用内部IDE终端打印树? 也许其他快速命令可以打印出来? 理想的结果应该是这样的:
class TableViewController {
func showPopup() {
let popup : PopupViewController = self.storyboard?.instantiateViewController(withIdentifier: "PopupViewController") as! PopupViewController
self.presentOnRoot(with: popup)
}
func test() {
UIView.animate(withDuration: 0.3, delay: 0.0, options: .curveEaseInOut, animations: {
self.button1.transform = CGAffineTransform(translationX: 0, y: -60)
})
}
}
//Separate View Controller
class PopupViewController {
static func closePopup(outOfIsEditing: Bool) {
if outOfIsEditing == true {
TableViewController().test()
}
}
}
//Extension that displays the popup
extension UIViewController {
func presentOnRoot(`with` viewController : UIViewController){
let navigationController = UINavigationController(rootViewController: viewController)
navigationController.modalPresentationStyle = UIModalPresentationStyle.overCurrentContext
self.present(navigationController, animated: true, completion: nil)
}
}
除了Linux apt树以外,在maven或spring boot命令中找不到任何快速的东西