public static Collection<IProject> getCDTProjects() {
		List<IProject> cdtProjects = new ArrayList<>();
		for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
			if (project.isOpen() && isCdtProject(project)) {
				cdtProjects.add(project);
			}
		}
		return cdtProjects;
	}
Gets all of the open CDT projects in the workspace.

@return A collection of the open CDT projects in the workspace.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidrasymbollookup/utils/CdtUtils.java