Skip to content

feat: 支持vscode插件方式使用#995

Closed
bjmhe wants to merge 5 commits into
oldj:masterfrom
bjmhe:feat/vscode-extension
Closed

feat: 支持vscode插件方式使用#995
bjmhe wants to merge 5 commits into
oldj:masterfrom
bjmhe:feat/vscode-extension

Conversation

@bjmhe
Copy link
Copy Markdown

@bjmhe bjmhe commented May 21, 2026

No description provided.

bjmhe added 5 commits May 21, 2026 15:09
- Implemented `normalize.rs` for parsing and formatting hosts lines, including duplicate removal.
- Added `tree_format.rs` for translating between renderer and v5 storage formats.
- Created `switchhosts-wasm` crate for WASM bindings, enabling core logic reuse in VS Code extension.
- Updated `aggregate.rs` to delegate content aggregation to `switchhosts-core`.
- Refactored manifest handling in `manifest.rs` and `mod.rs` to utilize core functions.
- Enhanced VS Code extension with WASM integration for hosts aggregation and manifest conversion.
- Improved README and package scripts for better build and usage instructions.
…sts extension

- Add appState.ts to manage application state and configuration.
- Introduce commandRouter.ts to handle various commands and interactions.
- Create storage modules for managing configuration, manifests, and apply history.
- Implement WASM integration for efficient data processing.
- Develop webview panel for user interactions and command dispatching.
- Add functionality for exporting and importing backup data.
- Enhance error handling and user feedback mechanisms.
- Update extension entry point to utilize new structure and features.
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