File Handling and Browsing Customization: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
m (Created page with '__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=8. Customizing files handling and browsing |prev=Man 2 ch08s07 |Subtitle=Chapter VIII. Custo…')
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
__NOEDITSECTION__
{{Man2top
{{Man2top
|lang=en
|lang=en
Line 10: Line 8:
|next=Man 2 ch08s09
|next=Man 2 ch08s09
}}
}}
== 8. Customizing files handling and browsing ==
 
<div style="float:right; background-color:#E5ECF9;border:1px solid #3061C2;">
{{toc}}
*[[#8.1. Setting the encoding meta tag on save|8.1. Setting the encoding meta tag on save]]
 
*[[#8.2. Setting the default base directory|8.2. Setting the default base directory]]
*[[#8.3. Merging file browser views|8.3. Merging file browser views]]
*[[#8.4. Backup files|8.4. Backup files]]
*[[#8.5. Using multiple instances of a file|8.5. Using multiple instances of a file]]
</div>
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.  
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|none|frame|The Files Preference Panel]]
[[File:Man2_prefs_files_tab.png|none|frame|The Files Preference Panel]]


=== 8.1. Setting the encoding meta tag on save ===
== 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.
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.
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 ===
== 8.2. Setting the default base directory ==
You can set a default base directory in the Files tab of the Edit preferences panel.
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.
This directory will serve as the initial point for the file browser.


=== 8.3. Merging file browser views ===
== 8.3. Merging file browser views ==
By default, the file browser uses separate views for files and directories.
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.
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 ===
== 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.
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.


Line 46: Line 39:
[[File:Man2_prefs_askonbackup.png|none|frame|Choosing an Action on Backup Failure]]
[[File:Man2_prefs_askonbackup.png|none|frame|Choosing an Action on Backup Failure]]


=== 8.5. Using multiple instances of a file ===
== 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.
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.
This feature can be disabled in the Files tab of the Edit preferences panel.


 
{{warning|text=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.}}
[[File: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.





Latest revision as of 02:20, 9 July 2010


 

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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.