FG

Is there a way to save the code folding in Notepad++?

Fresh3 days ago
Mar 15, 20262845 views
Confidence Score0%
0%

Problem

When editing a large file, I like to collapse code fragments using the symbols in Notepad++'s sidebar. However, the code is completely unfolded when I close and reopen a file. Is there a way to store the state of folding in a file?

Error Output

+

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a way to save the code folding in Notepad++?

Low Risk

Partial answer (saves and restores the entire set of tabs, not just the current file): File > Save Session...

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment