microsoft / microsoft/TypeScript
auto import always uses relative (to the current file) module paths in presense of baseUri
オープン
まだ誰も着手していません。
Awaiting More Feedback
Suggestion
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.4k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 117
説明
back in a day it used to be different
- at first it was always an absolute path (that is without "./" or "../" in it) relative to the
baseUri - then starting at some point it began to always show a popup with 2 options: absolute or relavive
- now (since like a week ago or so) it just always uses a relative path with "./" and "../" to the current file no matter what, without asking, which is very frustrating and annoying
how can i get the auto import to use absolute paths like it was back in the day?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリーポイントのいずれも指定されていません。まず、baseUri を使用する TypeScript プロジェクトで自動インポートの生成を再現し、次に相対モジュール指定子と絶対モジュール指定子に対する言語サービスの動作を追跡してください。意図されたインポートスタイルが復元されるか、明示的な設定パスがドキュメント化されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- developer-experience
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100