TAILIEUCHUNG - Lập trình Wrox Professional Xcode 3 cho Mac OS part 19

Khi bạn sử dụng cả hai nhận xét tùy chọn định dạng, bạn nên có thói quen của chèn một dòng trắng trước khi bắt đầu một C mới / chú thích C + + theo phong cách riêng trên một dòng. Nếu không, nó có thể có được thụt vào đến cấp độ của bình luận về các dòng trước đó. | 142 CHAPTER 7 SYNTAX-AWARE EDITING exit 3 terminate immediately returning a status of 3 When you use both comment formatting options you should get in the habit of inserting a blank line before starting a new C C -style comment on its own line. Otherwise it may get indented to the level of the comment on the previous line. Re-indenting Text As mentioned earlier re-indenting text uses the language-specific rules to determine the appropriate indentation level for each line. This can happen automatically as you type depending on which syntax-aware indentation options you have enabled or manually when you use Control I or the Edit Format Re-indent command. It also happens whenever text is pasted from the clipboard. You can always manually alter the indentation level of a line or lines using the Edit Format Shift Right Command and Edit Format Shift Left Command commands. These either increase or decrease the indentation of every line in the selection by indentation width. Lines that are already at the left margin cannot be decreased any further. This is just a manual adjustment of the amount of white space at the beginning of the line. A subsequent re-indent recalculates the appropriate indentation level based on the language rules undoing any effect of Shift Right or Shift Left. CODE COMPLETION The most sophisticated feature of syntax-aware editing is Code Completion Xcode s autocompletion technology. Code completion analyzes the context of the code you are typing and interactively offers suggestions for completing the statement. Code completion supports the C C Objective-C Objective-C Java and AppleScript languages. It works by assembling a list of symbol names from the Code Sense index that would be appropriate at that point in your code. If you are starting a new statement the appropriate symbols will include any global variable function class name or language keyword but if you typed a class or structure name the appropriate symbols would be only the member .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.