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

Check the extension user is trying to write to, and at least warn #493

Closed
poetaman opened this issue Feb 23, 2021 · 1 comment
Closed

Check the extension user is trying to write to, and at least warn #493

poetaman opened this issue Feb 23, 2021 · 1 comment

Comments

@poetaman
Copy link
Contributor

poetaman commented Feb 23, 2021

I recently downloaded scim, and tried to write a few files to .xlsx format using a wrong command :w filename.xlsx. Then I tried opening it with sc-im filename.xlsx. It showed a blank file. I realized that the format :w writes to is sc-im's own format & there is a different way of exporting it to other formats. It would be a good check to at least warn user if he/she is trying to "write" to .xlsx or .csv format by mistake using :w. I had filed an issue (which I closed) because of the confusion caused by this behavior: #485 (comment)

@andmarti1424 andmarti1424 changed the title Enhancement: Check the extension user is trying to write to, and at least warn Check the extension user is trying to write to, and at least warn Mar 25, 2021
@andmarti1424
Copy link
Owner

This is done. Now it saves in the format of current file. Btw, this was already done for other formats, such as csv.
It was missing for xlsx.

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

No branches or pull requests

2 participants