The editor uses the Tool Properties settings from the SQL Commander/Comments category under the General tab to detect comments. You can change how to display the different kinds of words, as well as the editor selection background color, the current line highlight color and the editor background color, in the Tools->Tool Properties dialog, in the Appearance/Fonts category. For instance, keywords are displayed with a bold blue font, while quoted text is displayed with a regular type red font. To make it easier to see at a glance what is what, the SQL Editor displays words using different font styles depending on their classification. Syntax Color CodingĪn SQL script consists of keywords, operators, object identifiers, quoted text, etc. These are described in the following sections. But it also offers additional features to help you specifically with editing SQL scripts. The SQL Editor is like any editor you're used to when it comes to typing, scrolling etc. An asterisk after the filename indicates that there are unsaved edits. If you just type into the editor without loading a file, the filename "Untitled" is shown instead. You can click on the filename to copy the file path or open the OS file chooser for the directory holding the file. First the character encoding and then the filename. The last two fields show information about the file loaded in the editor, if any. Next comes the Auto Commit Status field, showing whether Auto Commit is enabled. The next field shown in the screenshot is only visible when working with macros, described in the Recording and Playing Edit Macros section. You can toggle this mode using the Toggle Typing Mode keyboard shortcut, by default bound to the Insert key. The next field in the Status Bar shows INS if characters you type will be inserted at the caret position or OVR if they will overwrite the current text at the caret position. This can be useful when you get an error message executing a script that contains this information rather than a line/column location. The last figure, within square brackets, is the caret position from the top. The first field shows the current caret position in the format: The editing related buttons are covered below.īelow the editor, you see a Status Bar. Above the editor is a toolbar with buttons related both to execution of scripts and to editing.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |