node_modules
folder (GLOBAL_NODE_MODULES)npm config get prefix
command to find the path to the mhy
executable file.node_modules
folder should be around there somewhere. It varies between different systems, maybe it is right next to it, maybe inside a lib
directory next to it or the upper levels.node_modules
folder, you'll find mhy/node_modules
. The path to that directory is what we will need.node_modules
resolutiontsconfig.json
file in your root folder mhy config typescript -io
. VSCode will handle it for you, even if you have a JavaScript project.mhy config prettier -io
and install Prettier - Code formatter
plugin.Unfortunately you'll need to create watcher for eachFile Type
you want the IDE to watch. By default it was creating it only for JavaScript. Most probably you want to addjsx, ts, tsx
watcher also. Do this with copying the watcher and change theFile Type
.
.eslintrc
file yet: mhy config eslint -i
File > Preferences > Settings > Extensions > ESLint
Enable
Edit in settings.json
mhy
's nodemodules path and add the following key into _VSCode settings.json
: "eslint.nodePath": ".../mhy-node_modules-path",