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
The current comment handling logic for csv seems to no expect a comment header. Starting to edit a csv will start to result in the csv header getting overwritten, if the user starts to input in a non-linear way (for example diagonally)
This is particularly annoying for folks requiring a comment header to their csv file.
# ============================================================
# Comment example
# In this area we can describe different aspect of the CSV file
# Without impacting csv data.
# ============================================================
column, column, column, column
Steps to reproduce
Create a csv file with the above content
Open Raw file to the side
Start to input some values in the editor across different columns and row. IMPORTANT : try to be random, and input non-sequentially (for example, input a column in sequence, then go to a previous row on another cell. This triggers the behaviour more consistently.
See how the csv is updated from the top of the file, conflicting with comments and not saving properly.
Fix : Ensure that lines starting with the comment symbol are skipped when updating the csv file.
The text was updated successfully, but these errors were encountered:
The current comment handling logic for csv seems to no expect a comment header. Starting to edit a csv will start to result in the csv header getting overwritten, if the user starts to input in a non-linear way (for example diagonally)
This is particularly annoying for folks requiring a comment header to their csv file.
See : https://www.w3schools.io/file/csv-comments/#:~:text=CSV%20contains%20comma%2Dseparated%20values,and%20read%20the%20CSV%20comments. for an example of a comment "Header", and below for
Screenshot :
Sample :
Steps to reproduce
Fix : Ensure that lines starting with the comment symbol are skipped when updating the csv file.
The text was updated successfully, but these errors were encountered: