HFS: Files di commento: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
A volte, questo sistema non è sufficiente in quanto non è possibile inserire un commento nei files già contenuti nelle cartelle reali.<br>Per altre ragioni, può anche essere che tu voglia mantenere i commenti in files esterni.<br>In questi casi, hai la possibilità di creare files speciali che inglobano i commenti.<br>Questi files non vengono elencati ma saranno utilizzati da HFS come commenti (in relazione ai corrispettivi files/cartelle/elementi).
A volte, questo sistema non è sufficiente in quanto non è possibile inserire un commento nei files già contenuti nelle cartelle reali.<br>Per altre ragioni, può anche essere che tu voglia mantenere i commenti in files esterni.<br>In questi casi, hai la possibilità di creare files speciali che inglobano i commenti.<br>Questi files non vengono elencati ma saranno utilizzati da HFS come commenti (in relazione ai corrispettivi files/cartelle/elementi).


Esistono due tipi di file '''''comment''''':
Esistono due tipi di file '''''''Comment''''''':


== File singolo commento<br>(Single-comment files) ==
== File singolo commento<br>(Single-comment files) ==

Revision as of 18:22, 9 January 2007

Di solito, i commenti vengono inseriti cliccando su ''Comment''.
Questo assicura che diventino parte integrante dei file VFS.

A volte, questo sistema non è sufficiente in quanto non è possibile inserire un commento nei files già contenuti nelle cartelle reali.
Per altre ragioni, può anche essere che tu voglia mantenere i commenti in files esterni.
In questi casi, hai la possibilità di creare files speciali che inglobano i commenti.
Questi files non vengono elencati ma saranno utilizzati da HFS come commenti (in relazione ai corrispettivi files/cartelle/elementi).

Esistono due tipi di file ''Comment'':

File singolo commento
(Single-comment files)

Per ogni file elencato, HFS valuta l'esistenza di un file singolo commento.
Questo è un metodo cd. "per file".
Se, per esempio, desideri utilizzare questo sistema per tre files, necessariamente, dovrai creare tre distinti file commento (uno per ogni file elencato).

Poniamo il caso che tu decida di commentare il file 'test.zip.
Per fare ciò dovrai:

  • Creare un nuovo file di testo.
  • Editare al suo interno il commento.
  • Salvare il file come 'test.zip.comment' .

The single-comment file must reside in the same folder as the commented file.

Notice
Single comment files can be disabled with the option Menu →Virtual File System →Load single comment files. It is enabled by default. If you disable it, then any .comment file is listed. (ie. it is treated as a normal file).

Multi-comment files

This method only works on real folders.

In the folder relative to your real folder, create a file named hfs.comments.txt. Edit it, and for every comment you want to set, make a line like this test.zip=here goes my comment

Three comments, three lines, it's easy.

Don't leave empty spaces before the equals sign (=).