Is there any extensions and tools available that provide autocompletion for discord.js using Visual

title
17 Replies
d.js toolkit
d.js toolkit13mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
KAVI
KAVI13mo ago
By autocomplete what do you exactly mean ? Like snippets ? Or just VSC popping up stuff when you start to type ?
GMS
GMS13mo ago
When you start typing code, Visual Studio Code will show a list of suggestions based on the context, including available methods, properties, variables, and imported modules.
KAVI
KAVI13mo ago
It already does that tho.... without extensions. I think I only have a few normal JS extensions installed. And I get that functionality out of the box. <:E_think:793918036787986453>
GMS
GMS13mo ago
I dont know how to fix it For example if I am making a button using 'ButtonBuilder' so when I type, new ButtonBuilder(). - I want to see all the available methods for example: setCustomId,setLabel , and so on...
KAVI
KAVI13mo ago
You mean like this right ?
KAVI
KAVI13mo ago
ignore the music ohno
GMS
GMS13mo ago
Yes, exactly
KAVI
KAVI13mo ago
Maybe a corrupt VSC ? Have you tried restarting the editor ? Have you checked if you have all the intellisense extensions ?
KAVI
KAVI13mo ago
IntelliSense in Visual Studio Code
Learn about Visual Studio Code IntelliSense (intelligent code completion).
GMS
GMS13mo ago
for example why I dont see the field (guild,client and all the available properties)
GMS
GMS13mo ago
I need to go and check the promise I get in the documentation
KAVI
KAVI13mo ago
That explains ohno
GMS
GMS13mo ago
Can you give me more details about JSDoc or typescript
KAVI
KAVI13mo ago
Converting your project to TS ain't easy. I've been there. Especially if it's a large project. But worth it imo. Look into JSDoc
GMS
GMS13mo ago
Thank you guys, it helped alot 🙂