microsoft / microsoft/vscode-markdown-languageservice

Support renames on html id tag links

Open
#244 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
438
Forks
25
Avg merge
3d 21h
Merged PRs (30d)
1

Description

Follow up on #226

We should support renames on some-id for files such as:

# header

<div id="some-id"></div>

[x](#some-id)   

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked issue #226, then locate the Markdown link and HTML id handling entry points in the language service. Use the example here to trace how a link to an id is resolved and define completion as supporting renamed some-id targets without breaking existing heading links; add or update the relevant tests if the repository identifies them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.