在项目文件浏览器中包含外部文件夹

时间:2013-11-06 23:23:23

标签: textmate2

在Textmate 1中,我习惯于在项目抽屉中包含来自不同位置的文件夹。在Textmate 2中这仍然可以吗?

示例:我有以下(实际)文件结构:

/my_software
    /system_a
        /module_b
            /src_b (This is my actual project folder)
/other_software
    /system_y
        /module_z
            /src_z (I want to have this folder in my project file tree, for reference)

我希望我的Textmate 2项目文件浏览器看起来像这样,在Textmate 1中通过向抽屉添加现有文件夹很容易:

/src_b
/src_z

这仍然可以在Textmate 2中使用吗?例如。通过在.tm_properties文件中添加外部文件夹?

1 个答案:

答案 0 :(得分:2)

目前执行此操作的最佳方法是使用symbolic links。以下是考虑上述目录结构从命令行执行此操作的方法:

$ mkdir my_project
$ cd my_project
$ ln -s /my_software/system_a/module_b/src_b .
$ ln -s /other_software/system_y/module_z/src_z .
$ mate .

希望这有帮助!

相关问题