microsoft / microsoft/TypeScript

ctrl+click on an existing asset with a querystring

オープン
#54,993 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Experience Enhancement Help Wanted Suggestion
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
1日 19時間
マージ済み PR(30日)
117

説明

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.80.0
  • OS Version: macOS latest
Steps to Reproduce:
  1. write import foo from './existing-file.js?some-query-string'
  2. ctrl+click on the file path
Expected

VSCode opens the file as if there was no querystring

Actual

Either:

  1. VSCode complains with: cannot find module './existing-file.js?some-query-string' or its corresponding type declarations
  2. if there's a .d.ts with declare module '*?some-query-string' {}, VSCode will navigate to this particular declaration block

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

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

はじめの一歩

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

調査の方向性

issue にある import と ctrl+click の手順で動作を再現し、その後、クエリ文字列を含むモジュール指定子に対する TypeScript のエディターナビゲーションを追跡します。既存のアセットがクエリ文字列なしで正常に開かれ、missing-module エラーが発生したり、ワイルドカード宣言へ移動したりしなければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, typescript, vscode
領域
devtools
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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