microsoft / microsoft/TypeScript
Suggestion: Config files authored in JS should automatically have intellisense support
まだ誰も着手していません。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
Some libraries (e.g. Babel, Webpack, ESLint) use JS files for their config files.
We don't automatically provide IntelliSense support for these - however, the existing definitions (at least for Babel and Webpack) do provide types that describe the module shape of the files, so they can be manually set up today with a JSDoc comment.
It may be possible to provide a mechanism for associating these config files with their @types packages, and allowing those packages to specify that a given type expresses the module shape of the config file.
Courtesy of @uniqueiniquity
First suggested here: https://developercommunity.visualstudio.com/content/idea/385119/better-webpack-support.html
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue で説明されている手動の JSDoc セットアップと、@types の Babel および Webpack の定義が config モジュールの形状をどのように表現しているかを確認してください。JavaScript の config ファイル用の関連付けメカニズムを定義して実装し、JSDoc コメントなしで IntelliSense が提供されることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, typescript
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100