Run leaf / VSCode in Windows environment without VM (Experimental)

Hi @bbo.

This is very useful. Thanks for sharing!

I followed your instructions and was able to build/install a basic system.


Update:

I’ve since successfully built a more complex system comprised of: 13 user apps, 17 user components, 15 user api interfaces.

The only issue here is the Legato VS Code plugin’s inability to resolve user-defined types in non-framework.api files in the editor. This flags problems such as identifier "name_of_type" is undefined with lots of squiggly red lines.

The build process, however, seems solid and will pick up on any legitimate errors and display them in the build task terminal.


Performance seems fine to me. It’s an improvement over a sluggish VM.

I encountered some minor issues with Leaf package installations but they were specific to my PC (running low on storage, attempt to install leaf packages, process fails at toolchain configuration, free some space, further attempts failed because the toolchain “folder already exists”, manually delete folder in WSL terminal, try again, no issues).

Now, looking forward to more VS Code features.