microsoft / microsoft/TypeScript-TmLanguage

jsdoc @default syntax highlight error

Open
#965 0 comments 0 reactions 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

image
export interface Options {
    /**
     * the path(s) to your package.json or importmap config file
     *
     * @default path.resolve(process.cwd(), 'package.json')
     */
    packagePath?: string | string[];
}

file: https://github.com/tjx666/unplugin-externalize-deps/blob/main/src/core/options.ts

Version: 1.75.1 (Universal)
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:59.000Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No

@mjbvz

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

Reproduce the highlighting problem from the JSDoc example in src/core/options.ts using the reported TypeScript-TmLanguage environment. Start by locating the grammar rule that handles JSDoc @default tags, then verify that the corrected highlighting is applied to the shown default expression in an editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.