Skip to content

Feature/vscode UI - #2

Merged
Antebios merged 18 commits into
mainfrom
feature/vscode-ui
Oct 26, 2026
Merged

Antebios merged 18 commits into
mainfrom
feature/vscode-ui

Conversation

@Antebios

Copy link
Copy Markdown
Owner

Create a VS Code extension for CompareCraft.

Antebios and others added 18 commits October 21, 2026 19:48
- Implemented CompareCraft extension with commands for comparing files and folders.
- Added integration with the CompareCraft desktop application.
- Created configuration options for default mode and desktop executable path.
- Developed a controller for managing comparison logic and user interactions.
- Implemented discovery logic for locating the CompareCraft executable across platforms.
- Added integration tests to ensure functionality and error handling.
- Created a manifest file for extension metadata and command contributions.
- Established TypeScript configuration for building the extension.
- Updated `comparisonArguments` to include titles and read-only flags for each side, ensuring proper command-line argument formatting.
- Introduced a new `SnapshotStore` and `SnapshotSession` to manage temporary snapshots of files, allowing for read-only access to unsaved changes during comparisons.
- Implemented automatic cleanup of expired snapshots based on process state and age.
- Enhanced error messages for unsaved changes during folder comparisons.
- Added comprehensive tests for snapshot functionality, including creation, release, and conflict resolution scenarios.
- Expanded VS Code command registration to include new git-related commands and improved manifest validation.
- Added backend logic for JSON-RPC 2.0 communication over stdin/stdout.
- Introduced methods for file operations: path info, text loading, diffing, and merging.
- Implemented error handling and logging mechanisms.
- Created a main entry point for the backend with command-line argument handling.
- Added tests for backend functionality, including version checks and protocol handshake.
- Updated library structure to include the new backend module.
- Enhanced macOS signing tests to include the new comparecraft-backend helper.
- Added support for embedded panels in the VS Code extension, allowing for file comparisons directly within the editor.
- Refactored host communication to separate Tauri and VS Code implementations, enabling a unified interface for both environments.
- Updated various components to utilize the new host interface, ensuring compatibility with the embedded context.
- Introduced a new build script for the webview, optimizing the output for the VS Code extension.
- Enhanced the styling of the webview to align with VS Code themes, improving user experience.
- Introduced a new command for resolving conflicts directly within VS Code.
- Enhanced the embedded comparison functionality to support merging with three read-only sides and a writable result file.
- Updated the UI to reflect the new merge capabilities, including handling unsaved changes and offering staging after merges.
- Improved error handling for unsaved changes and conflict markers during the merge process.
- Added tests to validate the new merge functionality and ensure proper behavior in embedded mode.
- Introduced support for read-only views for binary, table, and picture files.
- Implemented new desktop view arguments for launching specific comparison types.
- Enhanced the file comparison logic to prioritize existing file types for comparison.
- Updated the embedded comparison UI to handle new view types and improve user experience.
- Added tests for new functionality, ensuring proper handling of file types and comparison methods.
- Refactored table comparison options to default to the first column as the key when no header is present.
- Improved styling for the comparison interface to enhance usability and visual clarity.
…r VSIX packaging

- Reformatted JSON structure in package.json for better readability.
- Added new script `test:vsix` to validate the packaged VSIX in an isolated VS Code profile.
- Included necessary dependencies for testing and packaging.
- Ensured all commands and menus are consistently formatted.
…nsion; add Marketplace publishing workflow and documentation
…SIX test to verify README links to screenshots
@Antebios
Antebios merged commit 048a8e1 into main Oct 26, 2026
12 checks passed
@Antebios
Antebios deleted the feature/vscode-ui branch October 26, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant