Source Editor General Tasks: Quick Reference

This topic describes common tasks for managing the Source Editor window.

To perform this task Follow these steps
Open a file that is not available in the Projects window or the Files window.
  1. Choose File > Open File.
  2. In the file chooser, navigate to the file. Then click Open.
Maximize the Source Editor.

Do one of the following:

  • Double-click a file's tab in the Source Editor.
  • Make sure that the Source Editor window has focus and then press Shift-Escape.
  • Choose Window  > Maximize.
Revert a maximized Source Editor to its previous size.

Do one of the following:

  • Double-click a file's tab in the Source Editor.
  • Press Shift-Escape.
  • Choose Window  > Restore.
Display line numbers. Choose View > Show Line Numbers.
View two files simultaneously.
  1. Open two or more files.
  2. Click the tab of one of the files and drag it to the side of the window where you want the file to be placed. When a red preview box appears to show you where the window will be placed, release the mouse button to drop the window.

    The window can be split horizontally or vertically, depending on where you drag the tab.

Split the view of a single file.
  1. Right-click the document's tab in the Source Editor and choose Clone Document.
  2. Click the tab of the cloned document and drag it to the part of the window where you want the copy to be placed.
Format code automatically.
  • Right-click in the Source Editor and choose Format.

    If any text is selected, only that text will be formatted. If no text is selected, then the whole file is formatted.


Legal Notices