I am using visual studio code 1.20.0
I am not sure when but after some updates vs code intellisense is giving ES6 output in every js file.
I am developing angularjs project & i simply don't want to use es6.
Currently i am getting below code using intellisense.
for (let index = 0; index < array.length; index++) {
const element = array[index];
}
array.forEach(element => {
});
I want it like it was before. Like below
for (var index = 0; index < array.length; index++) {
}
array.forEach(function(element) {
});
How can i set javascript to lower version. I have not added any plugin in my workspace.
Can anyone tell me how to achieve this.
Check this link Bro...
IntelliSense suggestions in VS Code can be configured globally or per each workspace and as of 1.9 per file-type (language), using the editor.quickSuggestions, editor.acceptSuggestionOnEnter and editor.suggestOnTriggerCharacters settings.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.