Puppet has an extension for Visual Studio Code (VSCode) — Microsoft’s cross-platform source-code editor.
The Puppet VSCode extension makes writing and managing code easier and ensures your code is high quality. Its features include DSL intellisense, linting, and built-in commands. You can use the extension with Windows, Linux, or macOS. For installation instructions and a full list of features, see the Puppet VSCode extension documentation.