You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible to use a XML Tools plugin command from a macro. I want to create a macro that includes pretty print an XML file, save it and close the file.
Steps to Reproduce the Issue
Open an XML file
Start recording a macro
Go to Plugins -> XML Tools -> Pretty Print (XML Only - with line breaks) or press Ctrl+Alt+Shift+B
Go to File -> Save or press Ctrl+S
Go to File -> Close
Stop macro recording
Open another XML file
Play the just recorded macro
Expected Behavior
The XML file should be pretty printed and saved to disk.
Actual Behavior
The file is not touched as the pretty print is not executed and thus nothing gets saved and the file is only closed.
When I manually invoke the pretty print command after opening the XML file and then execute the macro, the file is saved and closed. So the save and close steps are executed correctly but the pretty print step is not.
Debug Information
Notepad++ v7.3.2 (32-bit)
Build time : Feb 12 2017 - 23:15:39
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DoxyIt.dll FingerText.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll SnippetPlus.dll XMLTools.dll
The text was updated successfully, but these errors were encountered:
Description of the Issue
It's not possible to use a XML Tools plugin command from a macro. I want to create a macro that includes pretty print an XML file, save it and close the file.
Steps to Reproduce the Issue
Expected Behavior
The XML file should be pretty printed and saved to disk.
Actual Behavior
The file is not touched as the pretty print is not executed and thus nothing gets saved and the file is only closed.
When I manually invoke the pretty print command after opening the XML file and then execute the macro, the file is saved and closed. So the save and close steps are executed correctly but the pretty print step is not.
Debug Information
Notepad++ v7.3.2 (32-bit)
Build time : Feb 12 2017 - 23:15:39
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DoxyIt.dll FingerText.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll SnippetPlus.dll XMLTools.dll
The text was updated successfully, but these errors were encountered: