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

Option to start columns at 0 #36

Closed
tcsi-github opened this issue Apr 18, 2022 · 5 comments
Closed

Option to start columns at 0 #36

tcsi-github opened this issue Apr 18, 2022 · 5 comments

Comments

@tcsi-github
Copy link

We have other software at our company that reads CSVs as 0,1,2,3 rather than 1,2,3,4

I love the extension, however, I haven't seen an option to start at 0 rather than 1. Is this possible now? If not can it be added as an option?

I can't tell you how many times I've messed up something just forgetting mentally to -1 from the pop-up.

Thanks for any consideration. :-)

image

@mechatroner
Copy link
Owner

Great idea, thank you! I will add it as an option. I would also need to integrate it later with RBQL though so that when the mode is active the column names are zero-based i.e. a0, a1, etc

@tcsi-github
Copy link
Author

Thank you so much for this. It is very appreciated! :-)

@mechatroner
Copy link
Owner

I added a new config parameter to support this. I also tried to update RBQL to support zero-based column addressing but it turned out to be harder than expected (although I essentially solved the problem, the resulting diff ended up significantly larger than I expected so I put it on hold for now)

@tcsi-github
Copy link
Author

Thank you so much for your work on this!

@mechatroner
Copy link
Owner

You are welcome, And thanks for using the extension!

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

No branches or pull requests

2 participants