2.2. Main Window

In the main window, there are several views which can be reordered by dragging on their title bars. They can also be minimized by clicking on the minimize buttons on the left of title bars.

  1. The Documents window will have one document active at a time (if there are any files opened). All of the file commands will apply to this active document. You can switch to any page by clicking on the page tab. You can do the same by right-clicking on the page tabs and choosing the document from the pop-up menu that will appear. This is especially useful when you have a lot of files opened, but not all of them are visible in the page tab area.

  2. The Project window shows a tree of the project files if you have a project opened. Otherwise, the Project window is usually hidden. Double-clicking on any item in the Project window will open that file.

  3. The Files window shows a file tree. If no project is open, the file tree usually points to the file system root but you can change it in the preferences. If a project is open it shows all files inside the project. Double clicking opens a file in the appropriate application as configured in the gnome mime preferences. Richt click opens a popup-menu which gives you choices how to open the file.

  4. The Symbols window shows shows a tree of availible symbols in the project generated from ctags parser. Double clicking opens an editor window with the corresponding file and line.

    There is also a Search tab in the Symbols window where you can search for symbols.

  5. The Message window will list all the messages (both stdout and stderr outputs) when an external command is executed. The Message window is usually hidden, but appears as soon as an external command is executed, such as during file or project compilation, debugging sessions, searches, and many other operations. Anjuta also adds its own messages here when necessary.

    The colors used to display the messages are important. Messages displayed in the standard foreground color (usually Black) are normal messages. Those displayed in Blue are important messages such as errors or other information. Messages shown in Red are Hot Linked. Double-clicking on such a message will take you to the particular file and line number specified in the message.

    For example, when you compile a file which contains bugs, some red messages will appear showing what the problems are, and where they occur. Double-clicking on such messages will open the file and highlight the line containing the error.

  6. The Terminal window is a terminal emulation where you can type commands just like in the gnome-terminal.

NoteSession management
 

All of the settings, including the window sizes and window positions, are saved when you exit Anjuta. Session management is still under development, so you should not exit Anjuta with any unsaved documents. Anjuta will display a warning if you try to exit with unsaved documents still open.