microsoft / microsoft/TypeScript
"require" is not an autocomplete option for blank js file
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in a blank JavaScript file with extensions disabled, using var x = r and the reported version details as context. The payload names no source files or tests; done means require appears in the autocomplete list, ideally as the first option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100