Use the VS Code project workflow
A .bws manifest is a workspace container. Select one member .bproj manifest as the focused project for diagnostics, package actions, and project graphs. This UI behavior is informative. The Beskid Standard remains normative.
Prerequisites
Section titled “Prerequisites”Complete the first installation and keep the installed extension active. Open a folder that contains a .bws or .bproj manifest.
Actions
Section titled “Actions”- Open Projects from the Beskid activity bar.
- Select one member
.bprojentry under a.bwsworkspace, or select one standalone.bprojentry. This selection sets the focused project. - Keep the default
beskid.project.autoSelectFromEditorsetting enabled if editor changes must select the nearest project. - Select the Beskid status-bar entry. This action opens the Status dashboard in the bottom panel and shows project, CLI, language-server, and recovery state.
- Keep
beskid.toolchain.autoFetchDependenciesenabled if the first toolchain bootstrap must runbeskid fetchonce. The fetch does not run on each extension launch. - Inspect
Project.lockafter any automatic or manual fetch. - Expand Projects to inspect workspace members, targets, dependencies, and source folders.
- Run Beskid: Select Project when automatic focus selects the wrong
.bprojfile. - Open Packages to inspect the focused project’s declared and locked dependencies.
- Select Browse registry to read the public catalogue.
- Run Beskid: Fetch Packages after a dependency change.
- Configure private package access with Beskid: Configure Package Registry API Key. This command stores the value in VS Code SecretStorage.
- Do not put a key in
beskid.pckg.apiKey. That setting can keep the key as plain-text configuration and takes priority over SecretStorage. - Open Graph Explorer with Beskid: Show Project Graph. The command uses the focused
.bprojproject. - Use a
.bwsmanifest only with Beskid: Show Workspace Graph.
The lifecycle shows how one selected project context supplies the extension views and recovery surfaces.
flowchart TD
accTitle: VS Code project-context lifecycle
accDescr: Select a project context, start the tools, resolve dependencies, and use each view. Use status and output surfaces for recovery.
A[Open .bws or .bproj] --> B[Select .bproj project focus]
B --> C[Start CLI and LSP]
C --> D{Automatic fetch enabled?}
D -->|Yes, first bootstrap| E[Run beskid fetch once]
D -->|No| F[Use current dependency state]
E --> G[Projects and Packages]
F --> G
G --> H[Graph Explorer]
C --> I[Beskid status dashboard]
C --> J[Beskid LSP output]
Diagram text
Section titled “Diagram text”Open a folder that contains a .bws workspace or a .bproj project. Select a .bproj project focus before you use project-scoped tools. The extension starts the CLI and language server. During the first bootstrap, automatic fetch runs beskid fetch once when you enable it. When you disable automatic fetch, the extension uses the current dependency state. Projects and Packages then show information for the selected context. Graph Explorer requests a graph for that context. The Beskid status dashboard shows the current lifecycle state. The Beskid LSP output records startup, fetch, and language-server details.
Expected result
Section titled “Expected result”VS Code shows one focused .bproj project. Projects, Packages, and Graph Explorer use that project context. Project.lock records the dependency resolution that you reviewed.
Recovery
Section titled “Recovery”Open the Beskid LSP output channel when setup, fetch, or language-server work fails. Run Beskid: Setup Toolchain to retry CLI and LSP setup. Run Beskid: Fetch Packages to retry dependency fetch for the focused project, and inspect Project.lock again. If the graph rejects the context, focus a .bproj project for project graphs or open a .bws manifest for the workspace graph.
Next task
Section titled “Next task”Continue with Projects or Packages for the matching CLI and manifest procedures.