swift xcode设置 ,代码折叠,全局折叠 快捷键

在preference text editing 里面打开 function 折叠的项,

折叠方法快捷键: option+command +left/right

全局折叠快捷键: shift+option+command+left/right

打开左侧面板: command+0 /1

常用的快捷键和vs一样类似的功能,喜欢看代码全折叠起来快速查找用

build: command+b