For using VScode and making changes to Marlin there are a couple helpful and well spoken youtube tutorials here: VSCODE - Edit Marlin Firmware - How To - Chris's Basement - YouTube

And here: Beginner guide to editing Marlin firmware - step by step - UPDATE IN DESCRIPTION - YouTube