Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open files with custom applications for that specific file extension, specified in some config file #15

Open
ozansz opened this issue Oct 8, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers good-first-contribution hacktoberfest help wanted Extra attention is needed

Comments

@ozansz
Copy link
Owner

ozansz commented Oct 8, 2022

Summary

When a file is selected and opened (by hovering on it and pressing o), we should be able to open it with a custom program that we have specified in a custom configuration file.
Configuration file may be .glsrc, and then we can use it later for other configurations

@ozansz ozansz added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest good-first-contribution labels Oct 8, 2022
@JusteenR
Copy link

JusteenR commented Oct 9, 2022

Hi @ozansz! I am interested on working on this issue and was wondering if I could be assigned it? I was also wondering how you go about testing on different operating systems since I only have a windows machine.

@ozansz
Copy link
Owner Author

ozansz commented Oct 10, 2022

Hi @ozansz! I am interested on working on this issue and was wondering if I could be assigned it? I was also wondering how you go about testing on different operating systems since I only have a windows machine.

Hi @JusteenR! You can use Windows Subsystem for Linux, or install a virtual machine inside Windows and run any Linux distro inside the VM to run and test the project. Unfortunately, the project is does not support Windows because it casts os.Lstat's to *syscall.Stat_t struct type to get the files' real size.

If you are interested, you can also open an issue to implement Windows-compatible code. The incompatible code part is here:

st, ok := f.Sys().(*syscall.Stat_t)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers good-first-contribution hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants