You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,20 @@
2
2
3
3
# CompressedFileViewer
4
4
A Notepad++ plugin to open and save files in the gzip or bzip2 format.
5
-
It's written in C# with Visual Studio.
5
+
It's written in C# with Visual Studio for .Net 8.
6
6
Don't change the encoding of a zipped file. Change the file to uncompressed, then change the encoding and toggle compression on again.
7
7
8
8
## Compression algorithms
9
-
* GZip
10
-
* Bzip2
11
-
9
+
* GZip (.gz, .gzip)
10
+
* Bzip2 (.bz2, .bzip2)
11
+
* Zstd (.zstd)
12
+
* XZ (.xz)
12
13
## How to use
13
14
14
15
### Dll-Files
15
16
Download the zip file depending on your architecture.
16
-
Unpack the zip file copy all files into %NotepadDir%/plugins/CompressedFileViewer.
17
+
Unpack the zip file copy all files into %NotepadDir%/plugins/CompressedFileViewer.
18
+
Make sure .Net 8 is installed.
17
19
18
20
### Terminus:
19
21
1. tracked file: A tracked file is a file that was decompressed or is selected manually for compression. The Icon and Menu Entry will be checked for this file.
@@ -28,18 +30,19 @@ This plugin has two settings.
28
30
2. 'Compression algorithms': The ordered list of the compression algorithms. This does not affect file detection or 'decompress all'. It only affects the behaviour of the icon or 'Toogle Compression'. When clicking on the icon based on the suffix the appropriate compression will be chosen. Afterwards you can iterate through all algorithms in the list by clicking again.
29
31
30
32
Selecting a algorithm and clicking on 'Settings' allows to manage the algorithm specific settings.
31
-
4. 'Suffixes': The list of suffixes that schould automatically be decompressed. If a file is saved with such suffix it will also be compressed. This settings is part of every compression.
32
-
5. Other algorithm specific settings
33
+
1. 'Suffixes': The list of suffixes that schould automatically be decompressed. If a file is saved with such suffix it will also be compressed.
34
+
2. Other algorithm specific settings
33
35
34
36
### Commands
35
37
In the menubar there are 6 Commands:
36
38
1. Toggle Compression (same as clicking on the icon): Changes the compression algorithm used when storing this file. You can iteratre through different algorithms again. The order is dertemined by the order in the settings. If the file has a algorithm specific suffix it will select this algorithm first. By click again after the last algorithm was selected, the file compression will be disable for this file.
37
39
2. Compress: Compresses the current file text in the editor.
38
-
3. Decompressed: Decompresses the current text in the editor.
39
-
4. Settings: Opens the settings dialog.
40
-
5. About: Opens the about dialog.
41
-
6. Credits: Opens the credits dialog.
42
-
7. '*Compression Algorithm*': Sets the compression for this specific file or removes it.
40
+
3. Decompress: Decompresses the current text in the editor.
41
+
4. Show Log: Opens the log window.
42
+
5. Settings: Opens the settings dialog.
43
+
6. About: Opens the about dialog.
44
+
7. Credits: Opens the credits dialog.
45
+
9. '*Compression Algorithm*': Sets the compression for this specific file or removes it.
43
46
44
47
### (De)Compression-File-Rules
45
48
On Open:
@@ -49,7 +52,7 @@ On Open:
49
52
Save (same path):
50
53
1. Any tracked file will be compressed.
51
54
2. Any excluded file won't be compressed.
52
-
3. Any ignored file will be compressed if the suffix matches a gz-suffix. (Won't happen since this files would be tracked)
55
+
3. Any ignored file will be compressed if the suffix matches an algorithm suffix. (Won't happen since this files would be tracked)
53
56
54
57
Save (diffrent path):
55
58
Npp will tell the plugin the old path when notifing "FileBeforeSaved". If based on the suffix the compression toggles it might be saved two times.
0 commit comments