Is there shortcut to close all function found in one file in notepad plus plus?

Usually i code in notepad plus plus js, and then copy-paste in codepen, but sometimes i change little thing in codepen js editor bar, and when again i copy that code from codepen to my editor notepad plus plus, all function came opened.
And i manually every time close it with minus positioning left to the function. So is there macro ~ , to do thing?

Stuff like that… I’d suggest sublime text