Skip to content

Commit

Permalink
Add the description of new ability "Auto-save session on exit"
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Jan 4, 2022
1 parent 950b2e1 commit 2c04234
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
public/
resources/
resources/
*.bak
4 changes: 2 additions & 2 deletions content/docs/preferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ Sets options for [auto-completion](../auto-completion/) of text, including word

The **Multi-Instance** settings determine whether multiple instances of Notepad++ can be run simultaneously.

* `☐ Open session in a new instance of Notepad++`: each session will open in a new instance, but multiple files can be opened in each session. "Opening a session" can be done either by using **File > Load session...**, or (if you have set the [MISC > Session File ext](#misc)) by opening a file with that extension.
* `☐ Always in multi-instance mode`: every time you open a file from Windows, it will open a new instance of Notepad++
* `☐ Open session in a new instance (and save session automatically on exit)`: each session will open in a new instance, but multiple files can be opened in each session. "Opening a session" can be done either by using **File > Load session...**, or (if you have set the [MISC > Session File ext](#misc)) by opening a file with that extension. From Notepad++ v8.2, the loaded session in the new instance will be saved automatically while the instance exiting, if this option is set.
* `☐ Always in multi-instance mode`: every time you open a file from Windows, it will open a new instance of Notepad++.
* `☐ Default (mono-instance)`: every time you open a file from Windows, it will go into the single Notepad++ instance. If you open a session file while Notepad++ is already open, the files from that session will be opened in addition to the files you already have open.

**WARNING**: If you select anything other than `Default (mono-instance)`, changed settings in one instance will _not_ influence the settings in the other instance, and only the changed settings in the _last_ instance closed will be saved to disk.
Expand Down
2 changes: 2 additions & 0 deletions content/docs/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ The [MISC preferences](../preferences/#misc) include an option to set a file ext

You can also load a session file using the [`-openSession` command line argument](../command-prompt).

*Note*: As of Notepad++ v8.2, the loaded session is saved automatically on exit of Notepad++, if the [Multi-instance settings](../preferences/#multi-instance-and-date) is **not** set to "Default (Mono-instance)".

## Folder as Workspace

This feature allows you to use a tree-based interface to easily access the files in a given directory. When you drag a folder from Windows Explorer onto Notepad++, this feature will be activated (unless overridden by the ["... folder dropping" option](../preferences/#default-directory)).
Expand Down

0 comments on commit 2c04234

Please sign in to comment.