IntelliJ 2016 - csv table editor does not keep view status when switching between files
已回答
The 'Data' view for csv files is a great feature which i use regularly. However if i open another file to edit and then return back to a csv file, it resets back to the 'Text' viewer and i lose any filtering and sorting i had made in 'Data' viewer. Is there any way to stop this?
请先登录再写评论。
What exact IDE version do you use? Could you please describe the exact steps to reproduce? It works for me: when I open csv file, Edit it As a Table, then open Data view, then open another file or close this one and return back to it - Data view is available for me.
I'm seeing this in the last couple of versions of 2016.3 EAP including today's RC. I've done some testing and it only happens when 'Auto scroll to source' is on in the project window. The same problem does not occur with 2016.2 regardless of 'Auto scroll to source' being on or off - data tab is open when returning to a file.
An issue that is consistent across both .2 and .3 versions is that sorting by clicking the column header or hiding columns does not remain when switching between files. This would be great to have.
Unfortunately still can not reproduce it. Would you please file an issue at https://youtrack.jetbrains.com/issues/DBE with screenshots, showing your steps and idea.log file after IDE restart and reproducing. Thank you!
Ah, so it looks like this is being caused by something in the config directory as i have been importing this across the last few IntelliJ releases. If i delete the config directory and start IntelliJ from fresh, then i get the expected behaviour in the data grid viewer.
Is there something in particular i can try deleting from the config folder rather than deleting it completely and losing all of my other settings?
Thanks.
I find this question very interesting because it implies you can filter and sort CSV files. How do you do that? I've been trying and failing for hours.
Mark
Please refer to the documentation: https://www.jetbrains.com/help/idea/editing-csv-and-tsv-files.html .
Thank you for the quick response! The documentation does indeed explain how to sort, but does not even hint that filtering is possible.
Is it?
No: https://youtrack.jetbrains.com/issue/DBE-339.
Thanks!