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
{{ message }}
This repository was archived by the owner on May 29, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# NppGZipFileViewer
2
2
A Notepad++ plugin to open and save files in the gzip format.
3
3
It's written in C# with Visual Studio.
4
+
Don't change the encoding of a zipped file. Change the file to uncompressed, then change the encoding and toggle compression on again.
4
5
5
6
## How to use
6
7
@@ -19,14 +20,13 @@ It depends on your npp version:
19
20
### Settings
20
21
This plugin has two settings.
21
22
1. 'Try to decompress all files': If set the plugin will try to decompress all files regardless of the extension. All decompressed files will be tracked and if saved automatically compressed. (If the path is still the same)
22
-
2. 'Open all ANSI files as UTF-8': If set the plugin changes the selected encoding to utf8 if it the file encoding is detected as ansi. If not set files containing non latin characters (e.g. asian) might be decoded as ANSI files.
23
-
3. 'GZip-suffixes': The list of suffixes that schould automatically be decompressed. If a file is saved with such suffix it will also be compressed.
23
+
2. 'GZip-suffixes': The list of suffixes that schould automatically be decompressed. If a file is saved with such suffix it will also be compressed.
24
24
25
25
### Commands
26
26
In the menubar there are 6 Commands:
27
-
1.Toogle Compression: If clicked it will mark a compressed (tracked) file as uncompressed (excluded) and a uncompressed file as compressed (tracked). Makes the buffer dirty. It's the same command as the icon in the tool bar. It is marked if the current file is selected as compressed. If you store the file it will automatically store the file compressed.
28
-
2. Make Compressed: Compresses the current file text in the editor. This will always exclude the file from automatically compress on save. You can toogle it on by using command 1.
29
-
3. Make Uncompressed: Uncompresses the current file in the editor. This will alays exclude the file from automatically compress on save. You can toogle it on by using command 1.
27
+
1.Toggle Compression: If clicked it will mark a compressed (tracked) file as uncompressed (excluded) and a uncompressed file as compressed (tracked). Makes the buffer dirty. It's the same command as the icon in the tool bar. It is marked if the current file is selected as compressed. If you store the file it will automatically store the file compressed.
28
+
2. Make Compressed: Compresses the current file text in the editor. This will always exclude the file from automatically compress on save. You can toggle it on by using command 1.
29
+
3. Make Uncompressed: Uncompresses the current file in the editor. This will alays exclude the file from automatically compress on save. You can toggle it on by using command 1.
30
30
4. Settings: Opens the settings dialog.
31
31
5. About: Opens the about dialog.
32
32
6. Credits: Opens the credits dialog.
@@ -42,9 +42,9 @@ Save (same path):
42
42
3. Any ignored file will be compressed if the suffix matches a gz-suffix. (Won't happen since this files would be tracked)
43
43
44
44
Save (diffrent path):
45
-
Npp will tell the plugin the old path when notifing "FileBeforeSaved". If based on the suffix the compression toogles it might be saved two times.
46
-
1. from gz to non-gz: This file won't be compressed. If you want it to be compressed: after the save, toogle the compression and save the file again.
47
-
2. from non-gz to gz: This file will always be compressed. If you don't want to compress it: after the save, toogle the compression and save the file again.
45
+
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.
46
+
1. from gz to non-gz: This file won't be compressed. If you want it to be compressed: after the save, toggle the compression and save the file again.
47
+
2. from non-gz to gz: This file will always be compressed. If you don't want to compress it: after the save, toggle the compression and save the file again.
0 commit comments