microsoft / microsoft/vscode-html-languageservice

Add ability to auto complete attribute quotes

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
284
Forks
138
Avg merge
19h 11m
Merged PRs (30d)
5

Description

This is a popular requested feature on VS code

Given some valid version of
<tag foo= ....
Either "" or '' should be inserted and the cursor moved into the middle, in order to avoid another unnecessary character, as attribute values (almost?) always require quotes.

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, tests, or entry points, so first locate the TypeScript code handling HTML attribute completion. Implement insertion of either quote style with the cursor positioned between the quotes, and verify the behavior for valid attribute assignments with focused tests.

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
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.