'How can I add a new folder in Sublime Text?
I'm in Sublime working on a project that I need to add a folder in; when I right click to try "Add Folder.." I type in name, press enter and nothing happens. It will still allow me to add a file no problem, but that's not what I need just yet.
Solution 1:[1]
You can add files and folders on the sidebar in Sublime Text. First, go to Project -> Add Folder to Project and select whatever your parent folder is. That'll put your parent folder in the sidebar. Then you can right click on any of the folders in the sidebar to create child files and folders.
Solution 2:[2]
I was having the same problems, not being able to create folders in the sidebar. Luckily, this method worked for me: I typed in the name field the full path of one random file: foldername-1/foldername/filename.php The folders got created automatically.
Solution 3:[3]
I thought I had the same issue, but I've realised that when you click on create New Folder, appears a bar at the bottom asking you for the Folder Name. Once you give it a name, the folder will be added.
Solution 4:[4]
I may have the same problem with you. When I press Enter, it actually gives me a newline. I can't apply the rename/add folder action through sidebar.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | user8378696 |
Solution 3 | Noelia |
Solution 4 | Zheyuan Yang |