New NppESPHome plugin
-
NppESPHome PluginAfter realizing the possibilities offered by ESPHome, I began developing several projects and quickly noticed the absence of a tool to streamline my workflow, such as simplifying YAML creation and related testing tasks.
Despite the versatility of command-line tools available through Python and ESPHome, I found myself repeating simple commands far too often.
Initially, I created a Windows application as a wrapper, but it became clear that focusing exclusively on Notepad++ for code editing would be more effective.This led me to develop a plugin that allows for direct, efficient interaction with ESPHome commands within the editor.
Here it is! NppESPHome v1.0.26.
Features
As first release, it provides the following features:
- Streamlined workflow – Designed around the ESPHome project concept, the plugin ensures a smooth, intuitive, and productive development experience.
- Project configuration dialogs – Quickly select and configure your current project with dedicated setup windows directly inside Notepad++.
- One-click ESPHome commands – Automatically generates command lines for Run, Compile, Upload, Clean, and Logs. All commands are accessible from the plugin menu or can be assigned to custom keyboard shortcuts in Notepad++.
- Smart YAML validation – Parses your project’s YAML file to check validity and detect whether it includes Online or WebServer features.
- Flexible device communication – Configure ESP device communication ports with automatic detection of active serial and network connections, making uploads and interaction effortless.
- Command customization – Personalize options for each ESPHome command and save them with your project settings.
- Advanced configuration – Control logging behavior, automatic console closing, and define custom command-line arguments for advanced workflows.
- Auto-save integration – Automatically saves your project files before executing ESPHome commands, helping you keep focus on development.
- Multi-source management – Supports a project dependency file, enabling simultaneous editing of multiple sources within the same project, with multi-file open and save to boost productivity.
- Custom Notepad++ toolbar – An integrated, customizable toolbar provides direct access to the plugin’s main commands and functions.
- Templates for ESPHome Components – A dockable window displays a customizable list of ESPHome components, allowing for quick insertion into code template blocks and accelerating development.
- Full support for Light or Dark modes - Any window, as well as the toolbar has been developed to support both Notepad++ dark and light modes.
- Extra utilities – Includes handy non-ESPHome features such as:
- Opening the official ESPHome web documentation
- Updating ESPHome to the latest version
- Launching a command prompt or file explorer directly from the project folder
I’m new to this forum (thank you for accepting me), and I found it because I wanted to share my development work, really hoping it can be helpful—especially for those using ESPHome in combination with Notepad++.
Please be aware that I’m testing it thoroughly as I use it for personal needs, and you are very welcome to try it out as well, highlight eventual issues or request for new functionality.!