1

I'm trying to open a file in htdocs directory which is on my desktop but when I click on open folder on Sublime Text 2 it doesn't show htdocs as a directory. However I can open a file in htdocs using Sublime Text by simply clicking on it. I tried to display the path of an index.php in a browser but it only shows "." instead of the path.

I appreciate any help, thanks in advance.

4

2 回答 2

1

我发现即使我在桌面上创建了 htdocs 的快捷方式,路径也保持不变。例如“C:\xampp\htdocs..”。我必须找到那个目录。以防万一其他人有同样的问题。

于 2016-05-10T18:33:56.070 回答
1

尝试在您的 Sublime Text 中添加文件夹项目,只需转到 Project/Add folder to Project 并浏览它,添加整个项目或仅添加 htdocs 文件夹(如果需要),这样您也可以看到您的文件夹项目,只需转到查看/Side bar/Show side bar,你可以找到一个文件,使用快捷方式按名称搜索它Ctrl + P

于 2016-05-10T18:49:11.940 回答