Is there any extensions and tools available that provide autocompletion for discord.js using Visual
title
17 Replies
• 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.By autocomplete what do you exactly mean ?
Like snippets ? Or just VSC popping up stuff when you start to type ?
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.
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>
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...
You mean like this right ?
ignore the music
Yes, exactly
Maybe a corrupt VSC ? Have you tried restarting the editor ?
Have you checked if you have all the intellisense extensions ?
IntelliSense in Visual Studio Code
Learn about Visual Studio Code IntelliSense (intelligent code completion).
for example why I dont see the field (guild,client and all the available properties)
I need to go and check the promise I get in the documentation
That explains
Can you give me more details about JSDoc or typescript
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
Thank you guys, it helped alot 🙂