Can Sublime text 2 Follow path in a file?

六眼飞鱼酱① 提交于 2019-12-24 15:32:13

问题


Is it possible to open a linked file in sublime text 2 ? What I mean is, imagine I have the following code :

<?php

    require_once( 'include/const-inc.php' );
    require_once( 'include/db-inc.php' );
    require_once( 'classes/dummy-class.php' );

?>

I would love to be able to click on the files to open the corresponding file. Sublime text knows the local file path so should be able to resolve the corresponding files paths no?


回答1:


Check out the Open-Include plugin, available via Package Control. It looks like it does exactly what you're looking for.



来源:https://stackoverflow.com/questions/20209047/can-sublime-text-2-follow-path-in-a-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!