Find the folder you want to set as your Project Folder in the file browsing drawer View
->Show File Browser
. Use the menu button, it looks like a down arrow, select Use "[folder name]" as Project Folder
.
Textmate 2: Change the project folder
-
19-10-2022 - |
문제
I have a weird problem in Textmate 2 that I didn't experience before. I usually open TM2 on the command line by cd'ing into the project folder, then enter mate .
.
Strangely, for one project, the "Project folder" now is not the one I do mate .
in, but it's my home folder. This means that pressing Cmd-T
searches my whole home folder now, not only my project folder. This is very embarassing, and I can't seem to change it. I quit TM2, etc., but this didn't help. Interestingly, on other folders, it's still the "old", expected behavior.
Any idea on how to change this?
해결책
다른 팁
After adding a .tm_properties
file in the project folder with the following content solved the problem for me.
projectDirectory = "$CWD"
This may not be a general fix for the problem, but at least on a per-project base it's working for me.