Auto-save file before running a command
-
Is there a way to have Notepad++ auto-save the current document before running a command? Like one that opens the current document in another editor (because the other editor has certain features that Notepad++ lacks)? Thanks.
-
Hello @Albert-Wiersch,
when using nppexec plugin you could do something like
npp_save python $(FULL_CURRENT_PATH)of course you need to replace python by your other editor.
If it can be found using PATH variable you need to provide the complete path.Just for interest, what are those functions you are missing?
Cheers
Claudia -
Thanks. I was hoping this could be done without a plug-in. This seems like a feature that should be native.
The functions missing are the HTML, CSS, link-checking, etc. features that CSE HTML Validator has (I’m the developer of that software)… I want Notepad++ users to be able to easily open their HTML & CSS documents in CSE HTML Validator for testing/checking. I’ve described it here for Notepad++ and some other editors:
https://www.htmlvalidator.com/htmlval/integration.htmlMost other editors either auto-save the current/active document or have an option to do so when running a command.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login