Selecting the Editor for a UI Design

The UI Design Editor provides a GUI environment for creating and editing the components of your UI designs. It stores the information in XML format, though it is displayed graphically for ease of use. Using the UI Design Editor to perform your edits will ensure that the internal XML representations of the UI designs is not compromised.

However, there may be times when you need to examine the underlying structure or directly modify the content of the XML information contained in your UI design files.

Carbide.c++ allows you to specify which editor should be used to open a UI design. You may select to open it in a text editor to view/edit the XML content directly.

Setting the Default Editor for a UI Design File

  1. Locate the UI Design file in the Project Explorer view
  2. Right-click on the UI Design

    The Project Explorer view context menu will appear, as shown in Figure 1.

    NOTE The current default editor for this design is indicated by the small black circle to the left of its name.

    sel editor

    Figure 1 - The Project Explorer view's context menu

  3. Select the desired editor from the Open With submenu

    The UI design will open in the specified editor.

    NOTE Performing this task sets the default editor for the selected file. Double-clicking the file after you close this editing session will open it using the default editor that you have specified here. Repeat the steps in this task to change the default settting if you wish to open it using a different editor.

Related concepts