notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Feature request] Save all files (Only on active view)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
I am a super fan of N++. One of the best features is Views which has allowed me to setup two views with one only opening files related to the front end, while the other view with only files related to the API and other backend. I also use one view as temp location to keep temporary code items as I do A/B testing on different scenarios. I don't intent to save these files and they can be as many as the comp memory allows. N++ already allows for the awesome find and replace that only affects active View, however, when I choose Save All (Ctr+Shift+S), N++ insists on saving everything including temp files with them infact being the priority as they have the temp names new1, new2 ... newN. I only want to save all the files in the current active View.
Describe the solution you'd like.
I would recommend that there be introduced, a Save All Files (Ctrl+Shift+S+1) for View 1 ... etc or whichever way is deemed best by the author. That's it.
Debug Information
Notepad++ v8.7.5 (64-bit)
Build time : Dec 21 2024 - 05:13:03
Path : ~:\~\~\~\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
DirectWrite : OFF
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5247
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Save All command and the code managing active views or view-scoped find and replace. Compare how those operations identify files in the current view, then determine how a view-specific Save All command and shortcut could fit the existing command structure. Done means saving affects only files in the active view, including the expected handling of unsaved temporary files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100