TAILIEUCHUNG - Hacking Firefox - part 33

Hầu hết các biên tập viên văn bản sẽ không nhận ra file XUL như XML theo mặc định. Bạn nên tìm kiếm một trình soạn thảo mà có thể đánh dấu XML và trong đó bạn có thể xác định rằng các tập tin XUL là các tập tin thực sự XML. | 322 Part VI Creating Extensions and Themes ẫMost text editors won t recognize XUL files as XML by default. You should look for an editor that can highlight XML and in which you can specify that XUL files are actually XML files. Automatic indentation If you want to create readable XML documents JavaScript programs or any other structured text files you should use indentation to emphasize the hierarchical structure of the document elements. For example in XML files the child elements should have greater indentation than their parent element box button label one button label two box Editors with an autoindentation feature automatically indent the elements of your document according to its type. Parentheses matching A good text editor warns you if you forget to close a previously opened parenthesis. This can save you a lot of debugging time further along the way. Some editors also allow you to see the correspondence between the opening and the closing parentheses which can be a great troubleshooting tool. Line numbering If there are problems or errors in your document the browser or a validation program typically reports them along with the line number on which the error was encountered. A good text editor will display the current cursor position within the document and allows jumping directly to any given line number. There are many excellent freeware text editors available JEdit A multiplatform programmer s text editor VIM A flexible text editor that works on many operating systems Crimson Editor Source editor for Windows Nedit A multipurpose text editor for the X Window System Dozens of additional text editors are available on the Web. ZIP Format Compression Tool Extensions are packaged using the ZIP compression format. There are a lot of great ZIP compression tools many of which are free. If you are on Windows you might want to look at one of the following programs 7-Zip WinZip WinRar Chapter 17 Creating Extensions 323 If you want to automate the packaging process

TỪ KHÓA LIÊN QUAN
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.