Table of Contents
Previous topic Next topic
Projects and Workspaces->The Workspace
The Workspace contains the projects that you are currently working on. The Workspace View displays your projects in a tree structure.
When you create a new project and do not request that it be added to the current workspace, a new workspace is created to contain the new project. The new workspace is given the same name as the new project.
If you create an empty workspace (File->New->Workspaces) you can create a workspace with a unique name.
You can add a project to the workspace in several ways:
- If the project already exists, you can use the Insert Project command. Right mouse click on the Workspace View and select the Insert Project item. You can then enter or browse to and select the project file (which will have a .XMK extension) and it will be added to your project.
- Similarly you can select Insert Project into Workspace from the Project menu.
- You can create a new project (File->New->Projects) and check the Add to current workspace item at the bottom of the Project tab.
You can remove a project from the workspace by selecting it in the Workspace View and pressing the delete key.
Only one project is the active project. When you select any of the build commands they will be applied to the active project.
You can change the active project in several ways:
- In the Workspace View you can right mouse click on the project that you want to activate and select Set Active Project.
- In the Workspace View you can hold down the Ctrl key and double click on the project that you want to activate.
- You can select Change Active Project from the Project menu.
- You can right mouse click on a source code view. If the Make Active Project item is active then the source file is part of an inactive project. You can then select the Make Active Project item and the project that this source file belongs to will become the active project.
If you select the Batch Build command (Build->Batch Build), then the Embedded Development Studio will automatically switch active projects as it builds each one, restoring the initially active project on completion of the Batch Build process.
Workspaces are stored in files with a .XWS extension. If you open a project (.XMK extension) that does not have a matching .XWS file, then one will be automatically created.