Repository navigation
fix: resolve local file and folder links - #8
Merged
Merged
Conversation
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.
Clicking an existing absolute local file or folder link could show a missing-resource error because its path was appended to the workspace root. This repair resolves absolute paths and explicit
file:URIs separately, verifies the target, and retains VS Code's existing file-opening and folder-reveal behavior.Discovered in v0.2.1. Planned fix release: v0.2.2, after merge and release validation. This PR does not publish a release or change the extension version.
copyLinkAddressandsetupLinkprovide the extension points without changing the shared host bridge contract.Validation: compile/package passed; lint has no errors and nine existing warnings; the local unit suite has 227 passes and 11 environment-dependent skips; 49 focused browser tests passed with no retries. A fresh isolated VSIX passed native folder/file opening, encoded file URI, hover, unavailable-target copying, unchanged-Markdown, and clipboard-restoration checks. The new native
linkssuite also runs in every hosted validation lane.Local environment: macOS 26.5.2 / ARM64. Test examples are synthetic, and dated evidence uses UTC. See the verification record.
Hosted CI: all six checks passed for
537d2175d7d116b2a6467e098db8ff0fc79dd2e6in validation run 35096279212, attempt 2, verified on 2026-09-16 UTC. Ubuntu, macOS, and Windows each passed 747 browser tests with retries disabled. The native link suite passed on all four validation lanes, including minimum supported VS Code.Validation history: an earlier Windows clipboard assertion used VS Code's normalized drive-letter casing; the test now checks the fixture writer's exact spelling. This run's first Windows attempt timed out in the existing TOC keyboard-save case, with an empty synthetic document observed. The same assertions passed on rerun; the cause of that timeout remains unestablished. An earlier minimum-version language-switch timeout also passed unchanged on this final commit.
This PR remains open and unmerged, with automatic merging disabled.