Xcode: Is it possible to 'Open Quickly' the right pane of the Assistant Editor?
Is it possible to 'Open Quickly' in the right pane of the Assistant Editor? This would increase productivity by like 20x
Yes it's possible.
Use ⌘ command+⇧ shift+O to open the "Open Quicky" input box, and then:
- Use ⌥ option+Enter to open the file in the right editor †.
- Use ⌥ option+Shift+Enter to select where you want to open the file using the arrow keys.
† Note that starting with Xcode 11, you can now split the editor as much as you want. This means ⌥ option+Enter by default will behave differently and open the file in the editor next to where your cursor currently is.
This behavior is configurable in Xcode's Preferences, under Navigation:
Make sure that Uses Focused Editor
is selected in Preferences
> Navigation
:
This way, you can open it by focusing the Assistant Editor
, pressing ⌘ command+⇧ shift+O to open the Open Quicky
input box, and just press Enter to open the selected file, instead of ⌥ alt+Enter.
An even easier way is to hold down the Option key and then click on the file. That will bring open the chosen file in the Assistant Editor. This works great when you TDD your Swift :) You can have your tests on the left and option click on the implementation to open on the right.
Cool thing!
Just to extend the answer you can switch between more then two Tabs or open it new editor tab cool isn't it?
• Open multiple assistant editor .
• ⌘ command+⇧ shift+O.
• Hold ⌥ option and press Enter on the selected item.(Used to open any file in Assistant Editor)
• You can also use ⌥ option+⇧ shift+Enter to toggle more and open new tab if you're not on stacked editor.
• The multiple selection window will appear
Note: Make sure you have all editor stacked selected
EDIT: misread your question above answer is good, just make sure you click into that pane before trying those commands
Sounds like your looking for some hotkeys, check here for a full list
- http://spin.atomicobject.com/2014/03/23/xcode-keyboard-shortcuts/
- http://iphonedev.tv/blog/2014/9/15/14-xcode-time-saving-shortcuts-memorize-and-improve-your-productivity
- http://nshipster.com/xcode-key-bindings-and-gestures/
but to open assistant editor use ⌘ command + ⌥ option + ↵ return
'Programing' 카테고리의 다른 글
Java에서 CamelCase를 camel_case로 변환하는 정규식 (0) | 2020.10.28 |
---|---|
이미 시작된 PHP 세션 (0) | 2020.10.28 |
부팅시 node.js 서버 자동 시작 (0) | 2020.10.28 |
Android Studio에 레이아웃 미리보기가 표시되지 않습니다. (0) | 2020.10.28 |
Team Foundation Server에서 다른 사람의 파일 잠금을 해제하는 방법 (0) | 2020.10.28 |