This didn’t work at first: Err:5 bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-112.113 Now, looking forward to more VS Code features. 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). The build process, however, seems solid and will pick up on any legitimate errors and display them in the build task terminal. This flags problems such as identifier "name_of_type" is undefined with lots of squiggly red lines. The only issue here is the Legato VS Code plugin’s inability to resolve user-defined types in non-framework. I’ve since successfully built a more complex system comprised of: 13 user apps, 17 user components, 15 user api interfaces. I followed your instructions and was able to build/install a basic system. I’m interested to know if it works for you as well or if you face any issue. More details about VS Code with WSL on this page įeel free to share your experience. Operation seems a bit slow but I’ve been able to: Make sure to activate the legato extension in this new window and you should be good to goįrom this point you can continue the procedure described here: Legato Plugin for VSCode - Legato Docs It will open a new VS Code window running in the WLS environment. With the Remote - WSL extension installed, you will see a new Status bar item at the far bottom left in greenĬlick on it and select “Remote WSL – New Window” (as an alternative you can press Shift + CTRL + P to bring up the command list). Wget -O /tmp/leaf_b & sudo apt install /tmp/leaf_b Launch Ubuntu app in Windows (this is a command line only version) Install Ubuntu 18.04 LTS from Microsoft Store app in Windows Install Visual Studio Code for Windows 10 64 bits ( Download Visual Studio Code - Mac, Linux, Windows) – execute Turn Windows Feature on and off Make sure WLS (Windows Linux Subsystem) is activated However in my case, initial tests were conclusive. This is not an official method and I don’t guaranty it will work for every scenario. Instead i relied on WLS (Windows Linux Subsystem) I’ve been able to install and run leaf and VSCode in Windows 10 without a cumbersome virtual machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |