Skip to content

Some links in markdown sometimes lead to L1 instead of specified lines range in hashtag of url #288317

@konard

Description

@konard

Does this issue occur when all extensions are disabled?: Yes

Version: 1.108.0 (Universal)
Commit: 94e8ae2
Date: 2026-01-08T13:53:10.781Z (1 wk ago)
Electron: 39.2.7
ElectronBuildId: 12953945
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0

Steps to Reproduce:

  1. Create a markdown document with link similar to:
| [`TickersData`](../lib/model/src/lib.rs#L61-L66) | model | Real-time price data |
Image
  1. Hover on the link
  2. Wait until tool tip shown
  3. Do command + click on link
  4. Lines range #L61-L66 is not respected in opened file, it is opened at L1 instead.

It is flaky - sometimes it works as expected, and sometimes it does not work. For some links it is working, for some it does not.

I tried to close the file tab and open again, it is still don't work sometimes.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions