-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Closed
Copy link
Labels
Out of ScopeThis idea sits outside of the TypeScript language design constraintsThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.71.2
- OS Version: macOS 11.6.6
Steps to Reproduce:
- File > New File save as test.js in a new folder "test"
- Open folder "test" in vsCode
- Click "Yes, I trust the authors"
- run "Javascript: go to project configuration" from command palette
- click "Configure jsconfig.json"
- replace the default contents with
{
"compilerOptions": {
"lib": ["ES5"]
}
} - save jsconfig.json
- type "con" in test.js
- Observe that "const" is suggested by intellisense even though const is not supported by ES5:
This continues even after restarting vsCode. In one case jsconfig.json was respected (con didn't cause intellisense to suggest const), but after restarting vsCode jsconfig.json was no longer respected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Out of ScopeThis idea sits outside of the TypeScript language design constraintsThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScriptAn idea for TypeScript
