Making a Query

Make sure the project is open by double-clicking the project icon in the Project card. (The project name should be visible in the status line above the Source panel.)

In the main window:

  1. Make sure the project is open by double-clicking the project icon in the Project card. (The project name should be visible in the status line above the Source panel.)

  2. In the source panel or in any card, select the text you want to query.

  3. Choose a query to perform from the Query menu.


In the Query card:

  1. Make sure the project is open by double-clicking the project icon in the Project card. (The project name should be visible in the status line above the Source panel.)

  2. Choose a query from the Option menu.

  3. Type in a regular expression or a string to query over and press <Enter> to perform the query.


In the Class card:

  1. Make sure the project is open by double-clicking the project icon in the Project card. (The project name should be visible in the status line above the Source panel.)

  2. Choose a query from the Class menu in the main menu bar.


In the Overview, Query, or Class card:

  1. Make sure the project is open by double-clicking the project icon in the Project card. (The project name should be visible in the status line above the Source panel.)

  2. Select the item you want to query.

  3. Select the appropriate query from the right-mouse-button menu.

Note: If your query does not provide the expected results, choose Project > Reanalyze Classes to rebuild the class database that Cosmo Code uses for graphs and queries over classes.

See Also

Guide to the Cosmo Code Development Environment
12-96*239