You probably already know about GitHub Copilot. But there is also a VSCode GitHub Copilot Labs extension with more advanced features. The most important feature here is Custom Brushes: it allows you to select a text, give a custom command to Copilot, and watch it modify the selected text accordingly.