Графік комітів
2 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai 4a41b14992 fix(database): select the matching cell when navigating into a CSV file shown as Data (#8067)
Find in Files, Go to Line and other navigation into a CSV file on its Data tab moved the caret in the hidden Text editor only. The table now maps the revealed offset to its record and field the way the CSV parser reads the file (quotes, CRLF, blank lines, header row), scrolls to that cell wherever local sorting put it, selects it and takes the focus; a row hidden by a filter is left alone.

Fixes #8043
2026-12-04 23:11:43 +08:00
LU XIANGRUIтаwildcatDownstairs c2c6931f0e feat(database): open .csv / .tsv files as a table (#6493)
.csv and .tsv files now open with Text / Data tabs under the editor. Data shows the file as a read-only table in the result grid, with header sort, the local column filter and search. The delimiter (comma, semicolon, tab or pipe) is guessed from the first 64 KB (.tsv is always tab), and the header row is guessed with a First row is header override. Quoted fields, line breaks inside quotes and a UTF-8 BOM are handled; ragged rows are padded, unnamed columns numbered and repeated names suffixed. Parsing runs in a Web Worker and the table re-reads the editor text (debounced) only while Data is shown; Text stays mounted so undo history and unsaved edits are kept.

visibleRows also computes each row's sort key once instead of per comparison, which speeds up local sorting of query results too.

Closes #6368

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-27 20:38:44 +08:00