Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/userguide/external_editor.diviner
Show All 24 Lines | |||||
```lang=uri | ```lang=uri | ||||
editor://open/?file=%f | editor://open/?file=%f | ||||
``` | ``` | ||||
Mapping Repositories | Mapping Repositories | ||||
==================== | ==================== | ||||
When you open a file in an external editor, Phabricator needs to be able to | When you open a file in an external editor, Phorge needs to be able to | ||||
build a URI which includes the correct absolute path on disk to the local | build a URI which includes the correct absolute path on disk to the local | ||||
version of the file, including the repository directory. | version of the file, including the repository directory. | ||||
If all your repositories are named consistently in a single directory, you | If all your repositories are named consistently in a single directory, you | ||||
may be able to use the `%n` (repository short name) variable to do this. | may be able to use the `%n` (repository short name) variable to do this. | ||||
For example: | For example: | ||||
```lang=uri | ```lang=uri | ||||
Show All 37 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0