I just want to know if it is possible to get a plugin (I searched but not found) in VSCode to get all the JavaScript native methods for objects in suggestion.
Example for obj.hasOwnProperty
Sample Code:
let obj = {
count : 0
}
console.log(obj.hasOwnProperty)
My plugins
JavaScript has so many native methods, it would so much easier to learn these with a good autocomplete plugin and tooltips.
CodePudding user response:
I am not sure if the tabnine extension would help with this.
The tabnine extension is AI powered so it should recommend a suggestion.
You can download it either form the vscode stor or from herehttps://www.tabnine.com/install/vscode
CodePudding user response:
I've tried your example code with the vscode extension named "Tabnine AI Autocomplete for Javascript
..." and it works like a charm.
But in order to use it you need to create an account on tabnine website.
First install the extension and it will show you a notification on the vscode left sidebar. Click on that notification and login with google or github and you are done.
Here is the full name of the extension and a link to the official resource.
Tabnine AI Autocomplete for Javascript, Python, Typescript, PHP, Go, Java, Ruby & more
https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode