This extensions allows you to edit csv files with an excel like table ui
Flow CSV Editor is a light-weight tool for viewing, plotting and editing data files in CSV format. It's designed to be extremely quick and easy to use. It opens any valid CSV files immediately without any dialogs or complicated commands, and within seconds you'll be viewing, analyzing and editing the data of interest. I work with CSV files a lot, and Excel is overkill for that. Does anyone know a good, lightweight CSV viewer/editor I can use? Ideally it should be free or cheap. I found Ron's Editor, which works amazingly, but is way too expensive. CSV Easy will tame your troublesome CSV files, automatically fixing the common but painful format issues. Never let Excel mangle your precious data ever again. Tidy, Restructure & discover Clean up the content of your files - Apply casing, truncation, trimming, column alterations, sorting and much more. Rons CSV Editor is the ultimate CSV editor designed to edit CSV files (or any tabular text format) quickly and easily with numerous editing options, a clean and user-friendly interface, and the power and speed making it easy to handle large files.
If you don't have vs code to hand, you can use the online version at https://edit-csv.net
Execute the command edit as csv
to open an editor for the current file.
Execute the command again to switch back to the source file or to switch back to the editor
Note that the data flow is one way (editor to source file). If you make changes to the source file (.csv) while the editor is open, the editor will not be updated!
On initial load all rows are expanded so that all rows have equal length (number of cells (if necessary))
unsaved changes
indicator right from the startenabling/disabling the has header
read option will clear the undo/redo stack!
empty lines are skipped!
unsaved changes
indicator'
We try to retain quote information (default) but in some cases fields could get unquoted on save (see Retain Quote Information Rules)
Comment row (rows starting with a comment) will only export the first cell
Adding new lines to comments rows (via alt + enter) will have no effect when exporting (lines breaks are removed in comments!)
Starting with Version 0.1.0 the table has a context menu (right-click the table)
Plugin Version 0.0.11 had an issue with loading and saving files with more than ~1 MB
during parsing information about the quotes are stored
csv-edit.newColumnQuoteInformationIsQuoted
(default is not quoted)csv-edit.newColumnQuoteInformationIsQuoted
quote informationImplications of this
This can be turned off by setting csv-edit.retainQuoteInformation
to false
In this case all unnecessary quotes are removed
essentially it's just import csv and export csv
When you click on edit csv file
Qualcomm at commands pdf. the file content is cut into pieced and transferred via [webview].postMessage
the current config is stringified and injected into the editor (webview) html
a manager stores a reference to the webview, source file uri, editor uri
in the webview the pieces are put together and the text is parsed as csv and displayed in the (handson) table element
When you click on apply
the current table is transformed into csv, transferred via vscode.postMessage
to the extension and written to the source file
apply
by accident, you can undo the changes in the table element (with the usual shortcuts) and apply again or open the source file and just do an undo (with the usual shortcuts)When you click on apply and save
apply
When you click in Read again
As you can see this does not scale very well with large csv files (needs to be stringified and stored the whole time)
There are some settings for this plugin. Open the VS Code Settings and search for csv-edit
Create or edit Word, Excel, PowerPoint, and PDF easier. WPS PDF Tools is a smart oneline PDF manager. You can convert PDF to word, image,excel, or compress PDF, merge PDF, fill&sign PDF, split and edit PDF files online with easy. WPS PDF Tools Easy-to-use PDF online conversion tools. Start 7-day Free Trial. With PDF, Cloud, OCR, file repair, and other powerful tools, WPS Office is quickly becoming more and more people’s first choice in office software. Powerful PDF PDF editing, PDF to word, PDF comment, PDF sign, PDF compress, etc. Edit wps online payment.
See https://code.visualstudio.com/docs/languages/overview#_adding-a-file-extension-to-a-language
If the link is down: Search for files.associations
in the vs code settings. Then add an entry for *.xyz
to csv
.
Now the file is treated as a csv file and is recognized by the extension
after reordering columns or rows (e.g. sorting or manually dragged) inserting rows/col won't work (ui gets out of sync with data)
apply and save
an unnamed file will close the editor
renaming a file while an editor is open for that file will break the reference the the source file
if the source file content changes and the file is not in the current workspace (open folder) auto file content reload is not working
If you want to preview csv files you can go for the extension Excel Viewer. It has some more advanced sorting and filtering features.
There are two things missing..
see thirdParty
folders
There are some more in package.json
. Even if they are not referenced directly, they are used e.g. for the browser build. We copy them from node_modules
into the thirdParty
folders.
To compile (and watch) the files in csvEditorHtml
run Paint brush app for mac.
then press F5
to run the extension
When you edit csvEditorHtml/index.html
you need to manually copy the changes (everything in the body but without the scripts) into src/getHtml.ts
(past into body)
You can also open csvEditorHtml/index.html
in your favorite browser and play around (the vs code settings are not applied in the browser)