microsoft / microsoft/TypeScript
jsdoc mouse hover definition {Array.<static class>} bug
まだ誰も着手していません。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 117
説明
TypeScript Version: TS-next-3.7.0-2019.09.11
hi, if we add a definition jsdoc with static class array like this
/**@type {Array.<_A._B>} */
Mouse hover show any. And am not seem able to get link from vscode.
So i can't use ctrl+click to get definitions and travel in my codes.
I don't know if is a bug related to vscode engine or a mistake from my side?
Try this code and hover {Array.<_A._B>}
class _A {
constructor() {
/**@type {Array.<_A._B>} */
this.test = null;
//test intelisence
this.test[0].TESTT
};
static _B = (function() {
return class _B {
constructor() {
this.TESTT = true;
};
};
})();
static _C = class _C {
constructor() {
this.TESTT = true;
};
};
};

from suggest, it can also maybe related here.
https://github.com/microsoft/vscode/issues/17912
thanks in advance
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start by reproducing the JavaScript example with TypeScript-next-3.7.0-2019.09.11 and compare the hover and definition behavior with the linked VS Code issue. Done means the JSDoc type Array.<_A._B> is resolved in hover and Ctrl+click can navigate to its definition.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, typescript
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100