Learning resourcesReviewed · Cline

Cline: Multi-Root Workspaces

Cline’s Multi-Root Workspaces guide helps developers work across related projects in VS Code, but checkpoints are disabled and local Cline rules apply only to the first folder. It explains workspace setup, explicit file references and the differences between monorepos, separate repositories and mixed folder arrangements.

Researched 14 Nov 2026

In short.

Cline’s Multi-Root Workspaces guide explains cross-project development for VS Code users, with the main catch that checkpoints are unavailable and local rules apply only to the first folder. The page describes reading files, editing code and running commands across workspace folders, including separate repositories. It provides configuration options and explicit workspace references, while identifying additional primary-folder restrictions for skills and Git-related features. It supports understanding the documented workflow; reliability, performance, costs and compatibility with particular releases are not established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://docs.cline.bot/features/multiroot-workspace.md], including its setup instructions, examples, primary-workspace notices, checkpoint explanation, best practices, documentation-index pointer and hosting attribution. Linked pages and embedded video content are excluded. No installation, command execution, repository changes, recovery behavior or end-to-end task was tested.

The overview

Identity

Multi-Root Workspaces is a feature guide in Cline’s documentation at [https://docs.cline.bot/features/multiroot-workspace.md]. It teaches how to use Cline with several project folders in one VS Code window.

The resource is documentation rather than an installable extension, model or instruction package. Its subject includes monorepos, separate repositories and arrangements containing both version-controlled and ordinary folders.

Assessment

The guide is useful for developers whose changes regularly cross project boundaries, such as an API change that also requires frontend and shared-type updates. Its concrete value is explaining folder setup, unambiguous file references and the safeguards that change in multi-root mode.

The documented trade-off is significant: access across folders comes with reduced checkpoint and local-rule coverage. The page does not demonstrate successful task completion or quantify the reliability of coordinated changes.

Users

The examples suit full-stack developers, maintainers of shared contracts, monorepo contributors and teams working across microservices. Suggested tasks include coordinated refactoring, dependency updates and documentation spanning repositories.

Beginners receive explanations of repository layouts and several ways to add folders. Experienced developers get details about workspace naming, version-control detection and primary-folder restrictions. General Cline installation and model configuration are outside this guide.

Capabilities

The page states that Cline can read files, write code and run commands across workspace folders. It describes using that access to update contracts and consumers, coordinate related packages or search across projects.

Files can be identified through ordinary language or explicit references such as @frontend:src/App.tsx and @contracts:types/. Explicit references help distinguish identically named files in different projects. These are documented capabilities, not measured results.

Using it

Requirements

The described workflow requires Cline in VS Code with multiple folders opened as a workspace. A Git repository is not required for every folder: the page explicitly includes folders without version control.

The first folder is the primary workspace, so folder order affects where Cline looks for local rules and certain other features. Exact Cline and VS Code versions, supported operating systems, model requirements and authentication steps are not specified.

Mechanism

For each workspace folder, Cline detects its absolute path, name, version-control type and current commit where applicable. The listed version-control types are Git, Mercurial and none. Separate repositories retain their independent histories.

Workspace names come from the name field in a .code-workspace file or default to folder names. The @workspace:path syntax combines that name with a path to identify a file or directory.

The page explains that checkpoints rely on a shadow Git repository. Coordinating that mechanism across independent repository histories is not supported, so checkpoints are disabled in multi-root mode.

Setup

Add related folders using VS Code’s File > Add Folder to Workspace menu, its workspace command, drag and drop, or a .code-workspace file. The guide recommends a workspace file for reproducible team setups.

Choose clear, distinct folder names and deliberately select the first folder. Place shared local rules in that primary folder’s .clinerules/ directory, or use the documented global-rules location, ~/Documents/Cline/Rules/.

Because checkpoints are unavailable, the page recommends using ordinary Git branches and frequent commits to preserve recoverable work.

Example

A representative arrangement opens frontend, backend and contracts repositories together. A task could ask Cline to add a required field to the shared User type, update both consumers and adjust backend validation.

References such as @contracts:types/ and @backend:server.ts can make the intended locations explicit. This is an illustrative task based on the guide’s examples; no edits, validation or commands were executed.

Assessment & evidence

Limitations

Local Cline rules in secondary folders are ignored: only the primary folder’s .clinerules/ directory is used. The page also identifies skills and Git-related features, including @git mentions, as using the primary workspace despite version-control detection across folders.

Checkpoints are disabled, and Cline displays a warning. The page says checkpoint availability returns when the workspace returns to a single folder.

The guide supplies no maximum workspace size, performance measurements or demonstrated recovery procedure for a partially completed change across several repositories.

Reasoning

The practical distinction is between access and feature coverage. Cline can access multiple folders, while rules, skills and some Git features remain tied to the primary folder. Opening repositories together therefore does not establish that each repository’s local instructions will apply.

As a practical inference from these constraints, this arrangement fits work that benefits from shared project context and can use conventional Git recovery. Teams requiring different enforced instructions in every repository would need evidence beyond this page before relying on that behavior.

Alternatives

Returning to a single-folder workspace is the documented alternative for restoring checkpoints and avoiding the multi-root restriction on secondary-folder rules.

Within multi-root mode, the page presents shared primary-folder rules or global rules as instruction workarounds, and ordinary Git branches and commits as recovery workarounds. It does not compare competing coding assistants.

Evidence

The evidence is the complete documentation page at [https://docs.cline.bot/features/multiroot-workspace.md]. It includes setup guidance, example layouts, reference syntax, limitations and recommended practices.

Its examples describe intended use rather than observed outcomes. Linked documentation and the embedded video were not assessed, and no software was run. Accuracy, performance and successful cross-repository completion remain unverified.

Access & freshness

Costs

The page provides no pricing, subscription requirements, model-provider charges or usage estimates. The cost of using Cline for this workflow is unknown from this evidence.

There are no measurements showing how workspace size or cross-repository tasks affect token consumption, execution time or spending.

Rights

The supplied page does not state a documentation license or permission to redistribute its contents. It also does not establish the licensing or commercial-use terms of Cline itself.

The Mintlify hosting attribution does not provide licensing terms for this guide.

Freshness

The page was captured on 14 November 2026. The supplied text gives no publication date, last-updated date or Cline release number.

The restrictions describe this documentation snapshot. Whether they match a particular installed release or have changed since capture is unknown.

Actions

Before adopting this layout, decide which folder should be primary and whether shared or global rules cover the intended work. Save a named workspace configuration and use distinct folder names so file references remain clear.

Follow the guide’s recommendation to preserve work through Git commits or branches. Start with a bounded change across related folders, describe their dependencies explicitly and check each affected project’s results.

For large workspaces, the page recommends scoping searches, splitting tasks into folder-specific operations where practical and using Plan mode to understand the structure first. Confirm version compatibility and usage costs separately, since this guide does not establish them.

Evidence for this report

selected-page.txtselected · checked 2026-11-14