This template will get you set up using ROS2 with VSCode as your IDE. See how I develop with vscode and ros2 for a more in-depth look on how to use this workspace. There are many pre-defined tasks, ...
This is an example of how you can set up a script to change the Visual Studio Code taskbar icon based on the workspace you are working in. This makes it easier to identify which window is which when ...