Mojo VS Code Extension in WSL

Why can't I see syntax highlighting and completions in WSL?
2 Replies
Jack Clayton
Jack ClaytonOP16mo ago
First open a mojo file in WSL mode on VS Code, then go to the extension tab and press the install extension in WSL button:
No description
Jack Clayton
Jack ClaytonOP16mo ago
Then open your settings.json and update your path with <your-username> changed in:
{
"mojo.modularHomePath": "/home/<your-username>/.modular"
}
{
"mojo.modularHomePath": "/home/<your-username>/.modular"
}
Use the absolute path starting from /home, don't include the $wsl...
Want results from more Discord servers?
Add your server