microsoft / microsoft/TypeScript

JSDoc property and memberof does not work in salsa

Open
#7,237 3 comments 30 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Domain: JavaScript Domain: JSDoc In Discussion Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Since we cannot register intellisense by set a value directly. salsa should support @memberof or @property tag

image

It also useful for extension method, set a prototype like this cannot registered in intellisense

image

Which, I think we don't need automatic intellisense in case like this, but please provide some way we could write JSDoc to register custom member on intellisense

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 reproducing the JSDoc scenarios described in the issue, including @memberof, @property, and prototype-based extension members, then trace how Salsa provides IntelliSense for those cases. Done means there is a documented way to register these custom members and the relevant IntelliSense behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.