Conversation
…stomReadonlyEditorProvider: size check in resolveCustomEditor - Files >= 25MB auto-open in Glance, smaller files use text editor - priority: default — intercepts supported file types - Binary detection: glance.exe on Windows, glance on Linux/macOS - New formats: .sql, .txt, .xml, .out, .ldjson - Remove unreliable onDidOpenTextDocument redirect approach
ci.yml: - Add cargo test (140 tests now run on every push/PR) release.yml: - Platform-specific VSIX: linux-x64, darwin-arm64, darwin-x64, win32-x64 - Each VSIX bundles the correct binary for its OS - Add restore-keys to release cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI:
cargo testto the CI workflow, ensuring all 140 tests run on every push and pull requestrestore-keyssupport to the release cache for improved cache hit rates and faster buildsRelease:
Added platform-specific VSIX packages:
Each VSIX now bundles the correct native binary for its target platform
VS Code extension:
Moved file size validation into
CustomReadonlyEditorProvider.resolveCustomEditorAdded a 25 MB auto-open threshold to prevent large files from opening unintentionally
Set editor
priority: defaultso supported file types automatically open with GlanceImproved binary detection:
glance.exeon Windowsglanceon Linux and macOSAdded support for additional file formats:
.sql.txt.xml.out.ldjsonRemoved the
onDidOpenTextDocumentredirect mechanism due to inconsistent behavior across platforms and editor workflows