microsoft / microsoft/TypeScript
"require" is not an autocomplete option for blank js file
まだ誰も着手していません。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.4k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 117
説明
Steps to Reproduce:
- Open a blank JavaScript file
- type
var x = r
require should be the first value that pops up in the autocomplete options.
At the moment you can type out the entire word require and it still wont appear in the autocomplete list.
This is really annoying for node developers that need to use the require function all the time and don't have access to an es6 environment.
Does this issue occur when all extensions are disabled?: Yes
Version details
Version: 1.28.0 (user setup)
Commit: 431ef9da3cf88a7e164f9d33bf62695e07c6c2a9
Date: 2018-10-05T14:58:53.203Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Windows 10
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、拡張機能を無効にした空の JavaScript ファイルで、var x = r と報告されたバージョンの詳細をコンテキストとして使用し、問題を再現します。payload にはソースファイルもテストも指定されていません。完了条件は、オートコンプリートの一覧に require が表示され、できれば最初の候補になることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- developer-experience
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100