Skip to content

jsconfig target #40094

@ghost

Description

  • VSCode Version: 1.18.1
  • OS Version: macOS

Steps to Reproduce:

  1. Create array:
const arr = [];
  1. Try to get autocomplete for includes. There's no such, because you need to create jsconfig.json and set target to es2016.

My suggestion is to use "target": "es2016" by default in VS Code instead of es2015. I don't really like the idea to create jsconfig.json if I want to get proper autocomplete.

Thank you!

cc @mjbvz

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions