Download All IT eBooks
Transcript
Choose from one of the three common line endings available for their respective
operating systems:
• Mac OS X/Unix like systems, which includes Linux, uses LF or line feed
• Classic Mac OS (pre Mac OS X) uses CR or carriage return
• Windows uses CR + LF or carriage return plus line feed endings
Other Options
Below the Default Line Endings selection are some additional options for your
editor preferences:
• Suggest completions while typing. This will attempt to complete your code for
common design and development functions.
• Automatically insert closing brackets. For example, this will give you a final “{”
after you type the initial “{” (and so on).
• Show invisible characters. An option that gives symbolic nomenclature for
spaces, carriages returns, etc.
• Select prefix when double clicking a variable. For example, in PHP, when you
select the $ sign at the beginning of a variable rather than selecting a variable
from $variable, you can pick the prefix associated with it.
• Indent new lines. When checked, if you have spaces at the beginning of a line,
those spaces are repeated when you move to a new line by hitting return. If left
unchecked, you’ll just go to the beginning of the next line without the spaces.
• Typing delimiters wraps selected text. Selected, you can type the world “hello,”
highlight it, and then press Shift followed by the < key. The result will produce
<hello>.
• Wrap lines. Causes the text to flow within the viewable window area provided.
Otherwise, you’d be doing a lot of right scrolling.
• Indent wrapped lines by (number of) spaces. This is a visual tool so that if you
have a line that wraps past the end without going to a new line, Coda will indent
to give a visual effect that it is wrapped by the number of spaces specified.
Tab Width
Set how far the cursor moves when you press the Tab button by setting up its default
behavior. Rubyists like to use two spaces, so this is where you’d set your default to
only two and select “Use spaces instead of tabs.”
Editor Font
Change the fonts for the documents you work with. Click the Select button to find
a new font and font size from the Font panel.
Editor Preferences | 19