Using SoftBench Editors

Using Editors with Projects

Using Editors with Projects

When the editor is started from SoftBench, it understands your project information. SoftBench XEmacs and SoftBench vi Editor can save a file into the current project. The editor displays the current project on the title bar. You can also save a file outside of the current project.

Save–Save the file as it currently appears in the window. If the file is "Untitled", you are prompted for a file name. If the editor is project aware (editor was opened from the SoftBench main window or from a SoftBench tool), the editor saves the file into the current project.

Save As…–Save the file as it currently appears in the window using a name you provide. If the editor is project aware, the editor saves the newly named file into the current project.

Save Out Of Project–Save the file as it currently appears in the window. If the file is named "Untitled", you are prompted for a file name. SoftBench does not automatically add the file to the project.

Save Out Of Project As…–Save the file as it currently appears in the window under the name you provide. SoftBench does not automatically add the file to the project.

Note that if your editor is project aware, any file you "Save" or "Save As" will be added to your project file set, even if you just happen to make a change to your personal files. Use "Save Out Of Project" for files you do not want added to the project named in the editor's titlebar.

If you rename a file to a name that indicates a different file type, SoftBench Program Editor and SoftBench XEmacs switch mode to the new file type.

118

Chapter 4

Page 118
Image 118
HP UX SoftBench Software manual Using Editors with Projects, 118