Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Allowing simple gzipped files with extension gz #30

Open
yakrider opened this issue Nov 23, 2015 · 3 comments
Open

Allowing simple gzipped files with extension gz #30

yakrider opened this issue Nov 23, 2015 · 3 comments

Comments

@yakrider
Copy link

Since this works for tar.gz / tgz code to handle gzipped files must already be here, so it is probably a simple matter of adding .gz extensions to the list?

A lot of large log text files end up being individulaling created updated as gzipped streams so would be nice to just be able to load them into Atom.

Thanks!

@yuergen
Copy link

yuergen commented Jan 11, 2016

I just googled my way here. This feature would be very valuable, especially since most of the docs that linux/tex distributions provide are gzip'ped. I hope you consider an implementation.

@lee-dohm
Copy link
Contributor

I hope you consider an implementation.

If it is open, we're intending to get around to it ... eventually. But we'd also be open to someone submitting a PR for it too 😀

@stefansundin
Copy link

I was also frustrated by this, so I made a plugin to open .gz files. Check it out: gz-opener.

It can probably be improved to not require an interstitial view by extending TextEditor, but it's working pretty well as it is right now so I decided to just publish it. I might improve it later if I have the time.

I pretty much modeled it after archive-view, but it's using archive.readGzip instead of archive.readFile. I'd be happy if someone could modify archive-view to support reading .gz files. I tried but I couldn't figure out how to modify a core package, so I just decided to make a brand new package instead.

Enjoy!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants