Hi, guys! Take a look on my VSCode plugin to extract and edit Power Query M in VSCode. It can dramatically change your M coding experience.
https://marketplace.visualstudio.com/items?itemName=AMalanov.editexcelpqm&ssr=false#overview