microsoft / microsoft/TypeScript-TmLanguage

Update TM Scopes for JSDoc comment tags `@import` and `@template`

Open
#1,031 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
471
Forks
149
PR merge metrics
No merged PRs in 30d

Description

It's currently possible to customize the color of the JSDoc comments using textMateRules. However, some elements don't have the proper scope, such as the new @import tag and default value of @template:

image

It would be nice if the scopes could be updated for these elements.

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 does not name a file or test. Locate the TextMate grammar rules that assign scopes to JSDoc tags, then inspect the handling of @import and @template default values. Done means those elements receive appropriate scopes for customizable syntax highlighting.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.