microsoft / microsoft/TypeScript

Add "find assignment references"

オープン
#29,462 コメント 5 件 リアクション 5 件 担当者 1 名 GitHub で見る

@gabritto がすでに取り組んでいます。

2023年8月8日 から。

Domain: LS: Symbol Navigation Domain: LS: TSServer Rescheduled Suggestion
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
2日 4時間
マージ済み PR(30日)
132

説明

Search Terms

find usage reference as LVALUE langauge services assignment read write

Suggestion

Add a language feature that will find a variable/property "x" when assigned a value in the code (or otherwise is used as an LVALUE).

Use Cases

Allows a user to find where a variable/property is set as opposed to defined or read.

Examples

When searching in VSCode, and my cursor is on "name" in

x = myPerson.name

a "find LVAUE references" call would return...

myPerson.name = "Jim";
or
this.name = "Ann";
or
myOtherPerson.name = "Arlo";

but not

class person { name: string; }
or
print(myPerson.name);
or
x = myPerson.name

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。