Touch Bar is an excellent new input device present on the latest Macs. Unfortunately, software support for it in Xcode is desired to be better.
Below are a couple of ideas how Touch Bar could be made into more useful space when writing code:
- When text cursor is over a symbol, display method signature, or
- When text cursor is over some text in the code editor, display refactoring actions that can be done on the given object, symbol, selection or context.
- Provide a list of commonly used LLDB commands when the cursor is in the console. Display list of user aliases from .lldbinit is also an option.