microsoft / microsoft/TypeScript
Doc comment applied to all components of dotted namespace declaration
未關閉
還沒有人認領這個 Issue。
Bug
Domain: JSDoc
Help Wanted
- 主要語言
- Go
- 星號
- 111k
- 分支
- 14.3k
- 平均合併
- 2 天 4 小時
- 30 天內合併 PR
- 132
描述
TypeScript Version: 2.1.5, 2.2-rc
Code
/** Performance measurements for the compiler. */
namespace ts.performance {}
Expected behavior:
The doc comment should show up in quickinfo/completion for references to the innermost declared namespace performance, but not for ts.
Actual behavior:
The doc comment appears in quickinfo/completion for references to both performance and ts, even though for the outer namespace ts it's most likely irrelevant:

貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先使用 TypeScript 2.1.5 或 2.2-rc 重現點號命名空間範例,然後追蹤外層和最內層命名空間參照的 quickinfo 和 completion 進入點。完成標準是:在 quickinfo 和 completion 中,註解會出現在 performance 上,但不會出現在 ts 上。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- compilers, devtools
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 42/100