To activate it, press Control-F. It will open a dialog at the bottom of the window. Kate’s find feature is very useful with long documents. Repeat those steps for multiple files if necessary. Right click on the file and open it with Kate.Ĥ. Navigate to the folder containing the file you want to edit.ģ. Login to your web server using the normal method. You can use Dolphin or Konqueror.Ģ. With Kate, you can open a document live on the server via FTP, SFTP, and any other protocol supported by KDE. To accomplish this, do the following:ġ. Furthermore, if you have a shared hosting account, you might not even have access to SSH. While you could SSH into the server and use whatever text editor is available from the command line, you will miss some of the many benefits of Kate. There are times when you need to edit a document quickly right on the server. The next time you want to return to that project, just open the session you saved. Rather than having to open each document one at a time every time you want to work on them, you can save a Kate session that will automatically open those documents when activated. For example, you might have eight documents for a particular project. Kate has a handy feature called “Sessions” that allows you to pick up work right where you left off the last time you were editing. The left-hand column will display the list of currently opened files, and you can move through them by clicking on the file you want to edit, by clicking the forward or back buttons, or by holding the Alt key and pressing the left or right arrow. Control+S will save your current document, and Control+L will save all open documents. With Kate, you can edit multiple documents at once. Toggle it on or off with F10. Press F11 to toggle line numbers, and you will notice that a wrapped line has symbols indicating that it is still part of the previous line. Kate includes a dynamic word wrap feature, useful for documents with large amounts of text. Kate will generally highlight all of these, so you can usually leave the settings at the default. You can also do the same for PHP and other web scripting languages. Navigate to “Highlighting”, “Markup”, and finally to “XML”. It will then appropriately mark single tags that are not closed with arrows.Ģ. For that reason, if you are coding in XHTML, make sure to use the XML highlighting rather than HTML. It will also group text within tags, so that you can see what content is where. It will display folding markers, small arrows on the side, that you can use to collapse or expand a tag and its contents. To toggle folding markers, press F9. Kate will highlight HTML markup and underline errors, particularly when you forget to close a tag. Kate provides syntax highlighting for over 120 text formats, making it perfect for whatever programming language you choose. It runs on multiple Linux and Unix-like platforms, Mac OS X, and Windows. It also includes a component called KatePart, which runs inside numerous other KDE applications, including Quanta+ (on KDE 3 only), KWrite, Konqueror, and Kdevelop. Kate is a multi-document interface (MDI) text editor, available for both KDE 3 and 4.
0 Comments
Leave a Reply. |