tailieunhanh - Lập trình Wrox Professional Xcode 3 cho Mac OS part 79
Trong bảng chữ Bindings Key, fi thứ Chèn Tab hành động và kích đúp vào liên kết hiện tại của nó (thường là phím Tab). Giữ phím Option và nhấn phím Tab. Click bên ngoài lĩnh vực thiết lập nó. Nhấp vào nút OK để áp dụng các tổ hợp phím mới. | 646 CHAPTER 23 CUSTOMIZING XCODE 2. In the Text Key Bindings table find the Insert Tab action and double-click its current binding usually the Tab key . 3. Hold down the Option key and press the Tab key. Click outside the field to set it. 4. Click the OK button to adopt the new key bindings. Editing the text key bindings changes the key combinations that Xcode will use in all text editor panes. In steps 2 and 3 you replaced the key binding for the Insert Tab action the action with the extra features with Option Tab. Because the Option Tab was previously bound to Insert Tab Without Extra Action Xcode warned you of the conflict see the bottom of Figure 23-4 and deleted that binding when you accepted the new one. Now the Tab key alone has no binding. Without a special key binding the Tab key is treated like any other character. No special reformatting or navigation is attached to inserting a single tab character any more. Alternatively you could have accomplished the same thing by binding the Tab key to the Insert Tab Without Extra Action action. Because the Tab key represents the tab character both are equivalent. Key bindings are global and both the menu key bindings and text key bindings share the same table. A key combination can only be assigned to a single menu command or editor action. Keep this in mind when you re assigning non-Command key combinations to menu commands and vice versa. Key bindings are stored by name in your local Library Application Support Xcode Key Bindings folder as .pbxkeys files. You can exchange key binding files with other users. To install a key binding file quit Xcode copy a key bindings file into the Key Bindings folder launch Xcode and select the new set from the Key Bindings Sets pop-up menu. USING AN EXTERNAL EDITOR Is customizing the editor keystrokes and command shortcuts not enough What if your favorite editing feature isn t included in Xcode s editors What if Xcode doesn t even have an editor for the kind of file you ve added
đang nạp các trang xem trước