What VSCode packages do I need to get npm, Laravel mix autocompletion?
In the Laravel Mix series, Jeffrey gets autocompletion all around while demonstrating various Mix functions?
What packages do I need to get those? I installed nom intellisense, Javascript and Typescript intellisense, Node.js Modules intellisense, but I don't get suggestions?
One more thing, when I hover on require statement for Laravel mix I get this message:
Could not find a declaration file for module 'laravel-mix'. '/var/www/html/cvetansimsic/node_modules/laravel-mix/src/index.js' implicitly has an 'any' type. Try npm install @types/laravel-mix if it exists or add a new declaration (.d.ts) file containing declare module 'laravel-mix';
Did you try running npm install @types/laravel-mix? Vscode is looking for the typescript definitions for mix to help intellisense but can't find any. I'm not sure if Jeff creates/manages these but worth a shot.
This tutorial might help create the .d.ts files vscode is looking for