Lore for Visual Studio Code adds Lore version control to VS
Code. It shows your changes in the Source Control view, and lets you stage and commit them, push and
sync revisions, browse revision and file history, and work with branches. The extension is written in
TypeScript and uses lore-js, the Lore SDK for JavaScript
(@lore-vcs/sdk), which includes the native Lore library. It runs on Windows (x64), macOS (Apple
silicon), and Linux (x64 or Arm64).
Install the extension from the Visual Studio Marketplace, or search for Lore Version Control System in the Extensions view in VS Code. To get started with it, see Source/README.md. To learn about Lore itself, see the Lore documentation.
You need Node.js and pnpm for development. To enable pnpm, run corepack enable.
-
Clone this repository and open a terminal in its root folder.
-
Build the extension:
pnpm build
This installs the dependencies, runs the tests, and packages the extension as
Source/lore-vs-code-plugin-<version>.vsix. To only run the tests, usepnpm test. -
Install the package in VS Code:
code --install-extension Source/lore-vs-code-plugin-<version>.vsix
Or, in the Extensions view, open the ... menu and choose Install from VSIX....
To run the extension from source and debug it:
- Open the repository in VS Code:
code Default.code-workspace. - In
Source/, runpnpm installandpnpm compile. - Press F5, or choose Run Extension in the Run and Debug view. This opens a second VS Code window with the extension loaded.
- In that window, open a folder that is part of a Lore repository. The extension only starts in folders that contain Lore repository data.
- Source/README.md — what the extension does, and how to get started with it.
- Advanced settings and diagnostics — settings for large repositories, and measuring resource usage.
- Lore Enhancement Proposals — designs agreed before they are built.
We welcome contributions. Read CONTRIBUTING.md before you open a pull request, and see GOVERNANCE.md for how the project makes decisions. To report a security vulnerability, follow SECURITY.md — don't open a public issue. Everyone taking part follows the Code of Conduct.
Lore for Visual Studio Code is licensed under the MIT License. See LICENSE and NOTICE.md.