File Handling and Browsing Customization

From Bluefish Wiki
Jump to: navigation, search
Man2 warning.png This page is a copy from Manual 1. It needs to be modified to match Bluefish version 2.0.0!
Once you have verified this page (and corrected if necessary),

please modify the status to u (updated), i.e. st=u (see Guidelines for Writing this Manual)

Man2 icon 48.png
Chapter VIII. Customising Bluefish
8. Customizing files handling and browsing

The Files tab of the Edit preferences panel allows you to set some options related to the way files are handled and displayed in the file browser.

File:Man2 prefs files tab.png
The Files Preference Panel

8.1. Setting the encoding meta tag on save

Apart from setting the default character encoding in the Files tab of the Edit preferences panel, you may also instruct bluefish to set the encoding meta tag when you modify the document character set encoding.

Note that, if the encoding meta tag does not exist, it is inserted in the file, otherwise it is changed. Either modification occurs immediately.

8.2. Setting the default base directory

You can set a default base directory in the Files tab of the Edit preferences panel.

This directory will serve as the initial point for the file browser.

8.3. Merging file browser views

By default, the file browser uses separate views for files and directories.

You can have a single view by unchecking the Use separate file and directory view option in the Files tab of the Edit preferences panel.

8.4. Backup files

By default, a backup file is created on save in the same directory as the original file based on the same filename with the exception that a ~ suffix is added. This backup file is deleted on closing the file.

You can change this behaviour in the Files tab of the Edit preferences panel.

When the backup fails to be created, you can choose what to do:

File:Man2 prefs askonbackup.png
Choosing an Action on Backup Failure

8.5. Using multiple instances of a file

A nice feature of bluefish is it allows you to open multiple instances of a file. Combined with either launching two instances of bluefish or opening the same file in two windows, it eases the modification of a file in one window while browsing it in another one.

This feature can be disabled in the Files tab of the Edit preferences panel.

Man2 warning.png Be aware that the last closed instance of the file wins. Hence it is important that you remember which instance is the modified one. You can, for example, always open the file to be modified on the left side of your screen, the file to be browsed on the right side.

7. Changing the author meta tag on the fly
Home | ToC
 9. Customizing the user interface