# WIP: Add the ability to make new directories by adding slashes to a file name \(\#2638\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a9c1395b9b56ec1cf521e93c3506cbb70cd0deb2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a9c1395b9b56ec1cf521e93c3506cbb70cd0deb2

Requested commit: a9c1395b9b56ec1cf521e93c3506cbb70cd0deb2

Commit: a9c1395b9b56ec1cf521e93c3506cbb70cd0deb2

Tree: 2a3d8f358fd057b78cd68c54ec2e0621a99efb45

Author: Mikayla Maki

Committer: GitHub

## Message

```
WIP: Add the ability to make new directories by adding slashes to a file name (#2638)

This PR adds a new way to make files / directories in the project panel,
by writing a path instead of a file.

TODO:
- [x] Solve a race condition that sometimes causes the newly created
file to not be selected / expanded correctly.
- [x] Change file refreshes to be minimal

Release Notes:

- Adds the ability to create new folders in the create-file action
([743](https://github.com/zed-industries/community/issues/743))
```

## Parents

- [f6b64dc67ab18f60836444c13192764225d96af3](https://git.cafe/gitcafe/zed/commit/f6b64dc67ab18f60836444c13192764225d96af3?format=markdown)

- [3d6e063a6dcabe7644a10891417dc648793afa70](https://git.cafe/gitcafe/zed/commit/3d6e063a6dcabe7644a10891417dc648793afa70?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a9c1395b9b56ec1cf521e93c3506cbb70cd0deb2?format=markdown)
