有任何* .csv文件管理器与Treeview [英] Is there any *.csv File manager with Treeview

查看:221
本文介绍了有任何* .csv文件管理器与Treeview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有任何Notepad ++插件,单独的软件或其他什么可以管理和显示csv文件作为treeview(可以编辑此csv文件,删除一些行,编辑名称等)?

Is there any Notepad++ plugin, separate software or something else what can manage and show me csv file as treeview (can edit this csv file ,delete some lines, edit name, etc) ?

O - 资料夹

V - 档案

1,2,3,4 -

1, 2, 3, 4 - level

示例:

O;1;Folder_Master;;
    O;2;Folder_in second_level;;
        V;3;File1_in_third_level
        O;3;Folder_in_third_level
             V;4;File2_in_4_level
             V;4;File3_in_4_level
        O;3;Folder_in_third_level
             V;4;File4_in_4_level
             V;4;File5_in_4_level
        O;3;Folder_in_third_level
             V;4;File6_in_4_level
             V;4;File7_in_4_level
        O;3;Folder_in_third_level
             V;4;File8_in_4_level
             V;4;File9_in_4_level


推荐答案

我不知道这是否会为你工作。但我想使用语言 - > Python然后使用它的折叠功能。 Python通过缩进结构化代码,你可以折叠所有的细节(这是完全隐藏一些水平的缩进)或通过单独选择隐藏的东西。

I do not know if this will work for you. But I think of using the Language -> Python and then use its folding feature. Python structures code by indentation and you can fold away all details (that is hide some level of indentation completely) or hide something by selecting it individually.

首先我们需要缩进,执行正则表达式搜索和替换:

First we need indentation, do a regular expression search and replace:


  1. 替换 ^(.; 2;) \t\1

  2. 替换 ^(.; 3;) \t\t\1

  3. )与 \t\t\t\1

  1. replace ^(.;2;) with \t\1
  2. replace ^(.;3;) with \t\t\1
  3. replace ^(.;4;) with \t\t\t\1

然后选择语言 - > Python并使用折叠功能:

Then select Language -> Python and play around with the Folding feature:


  • 点击左边缘

  • 使用视图 - >折叠和折叠选项

使用Edit-> Blank Operations - > Trim Leading Space。删除缩进。

In the end, remove the indentation with Edit->Blank Operations -> Trim Leading Space.

这篇关于有任何* .csv文件管理器与Treeview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆