Most of the files associated with your project (listed in the File view of the Workspace window) can be opened in the Code Editor. The obvious exceptions are binary files, like ACUCOBOL-GT object files and bitmaps.
Note that if you are using AcuBench code generation, many of the files in your File view Copylib folder, as well as the files in your Screen and Report folders, are likely to be read-only files. You can open these files in the Code Editor, but are encouraged to make changes in the graphical designers associated with the Structure view.
To open a file listed in the File view, double-click the file name or right-click the file name and select Open filename. The file opens in the Code Editor window, whose title bar shows both the name of the file and the name of the project with which the file is associated.
To save changes to a file, select Save from the File menu, click the Save icon on the Standard toolbar, or use the default keyboard shortcut: Ctrl+S. If you want to save your changes in a new file (or find that you have been working in a read-only file), select the Save As option from the File menu, then specify a name and path for the new file.
If you are working with a source file, you can save your changes and compile with the Ctrl+F7 keyboard shortcut (or right-click the filename in the File view and select Compile filename.
Note that while you can open and save any text file in the Code Editor, you can compile only source files associated with a project in the current workspace. If you try to compile a file not associated with a project, an AcuBench prompt appears, asking you whether to add the file to the current project or cancel the compile request.