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
When executing a "Save All" command in Notepad++, version 0.4.0.0 of the editorconfig plugin doesn't apply its settings to all of the files being saved. Specifically, it will only act upon the currently active file tab if that file needs saving. All of the other (currently inactive) filetabs to be saved will not receive the settings.
It can be demo'd with the attached fileset. Three text files all have trailing whitespace. The editorconfig file indicates that this should be eliminated when saving. Extract all files to a folder and then open the 3 .txt files into Notepad++ which has editorconfig plugin installed. Make a slight change to the first character on line 1 of each of the 3 filetabs, without saving. Make sure test1.txt is the currently active file and invoke File > Save All. Observe that trailing whitespace is eliminated from test1.txt (the active filetab) but although test2.txt and test3.txt are now saved, their trailing whitespace has not been removed.
I can confirm that the problem exists, but I am not sure why yet. The event NPPN_FILEBEFORESAVE is called and handled for every open file but for some reason it doesn't work as expected.
When executing a "Save All" command in Notepad++, version 0.4.0.0 of the editorconfig plugin doesn't apply its settings to all of the files being saved. Specifically, it will only act upon the currently active file tab if that file needs saving. All of the other (currently inactive) filetabs to be saved will not receive the settings.
It can be demo'd with the attached fileset. Three text files all have trailing whitespace. The editorconfig file indicates that this should be eliminated when saving. Extract all files to a folder and then open the 3 .txt files into Notepad++ which has editorconfig plugin installed. Make a slight change to the first character on line 1 of each of the 3 filetabs, without saving. Make sure test1.txt is the currently active file and invoke File > Save All. Observe that trailing whitespace is eliminated from test1.txt (the active filetab) but although test2.txt and test3.txt are now saved, their trailing whitespace has not been removed.
editorconfig_test.zip
The text was updated successfully, but these errors were encountered: