The Atelier editor support includes the following features:
Tools often report errors in terms of line numbers in the file. You can set Atelier editors to display line numbers by selecting Window > Preferences from the main menu, then, select General > Editors > Text Editors. On this page, select the Show line numbers check box, as shown:
To navigate to a line number in a file, select Navigate > Go to Line from the main menu.
When you type the content assist keystrokes, CTRL+Space, the editor opens a pop-up box listing possible completions given the context of the current cursor position. See Editor Content Assist.
Hover the cursor over the name of a class to open an in-place window that displays documentation for the item under the cursor. Pressing F2 shifts focus to the documentation pop-up so you can scroll through the content. If the Atelier Documentation View is open, selecting a class name in the editor opens documentation in that view.
The View Web Page toolbar button opens a file as a web page in a browser. It is enabled only when the file content can be displayed as a web page. The file must be both selected and open in the Atelier editor.
Press CTRL+O or select Navigate > Quick Outline from the main menu to see an in-place outline of the content of the current source file. Press CTRL+O again to show inherited members. You can navigate to the definition of any item in the list by clicking on an it. The following image shows the quick outline pop-up with inherited members visible:
Quick outline works in Atelier editors much as it does for editing in Java. See the topic Using quick views in the Java Development User Guide.
When a file is open in an Atelier editor, the Outline view shows the logical structure of the file. This view is updated as you edit, and you can use it to navigate to elements in the file. The following image shows the outline view to the right of the editor area. The user has just navigated to the method Greeting by clicking in the outline view.
The Outline view works in Atelier editors much as it does for editing in Java. See the topic Outline view in the Workbench User Guide.
Select View Others from the editor right-click context menu to open intermediate files created during compilation so you can view the generated code. You can also click the View Other toolbar button . Intermediate files are created on the server during compilation, and they are stored on the server. Such files open with a background color that indicates they have been opened on the server in read-only mode. If you need to edit an intermediate file, you must first copy it to the project in the workspace, using the Copy to Project command on the Sever Explorer context menu.
The Compilation preference Keep generated source code (k) must be selected in order to retain the generated files. See the topic Compilation. It is selected by default.
Click on the name of a class, method, or property. You can then right-click to open a context menu and select Open Declaration, which navigates to the declaration of the object, opening the file if necessary.
Select Navigate > Open Atelier Class/Routine from the main menu or click on the icon in the main toolbar. The dialog box that opens lets you search for classes or routines declared anywhere in the workspace. Type the class or routine name, using wildcard characters ? for any single character and * for any string. Recently visited files appear first in the results list, followed by other matches in the workspace.
You can use the Back, Forward, and Last Edit Location items on the Navigate menu to move between locations in code files you have visited. You can also use the , and buttons on the main toolbar,
You can search on the server using the Atelier search tab. Click on an item in the results list to navigate to that code on the server. See Atelier Search Tab.
If you are working in an Ensemble-enabled project, you can open the Business Process Language (BPL) editor from the Atelier editor. First open a BPL business process class in the Atelier editor, then right-click in the editor window and select Open diagram editor from the context menu, as shown in the following image.
Developing BPL Processes
Atelier Search Tab
Creating an Atelier Class File
Creating an Atelier Routine File
Editor Content Assist
Atelier Documentation View
Atelier Explorer View
Project Explorer View
Server Explorer View