<

# Saving sessions

To save a session, select File->Save Session and select the location and name of the session to be saved. This is very similar to saving files, but applies to sessions instead.

When working with sessions, it is often handy to define a specific extension for them. This extension should not be XML!

When the option to remember the last session is set in the Preferences dialog, Notepad++ automatically saves the current session on shutdown, except if it was launched with the -nosession command line option.

A session saves, for each file

- on which view it was
- where the caret was
- its folding state, should this apply
- the bookmarks it had
- the selected area
- The scroll width for its view
- Language and encoding