Guess the location of fidl-format
This change introduces two ways that the FIDL extension tries to find
fidl-format. Both of these techniques involve finding the root of the
Fuchsia repo by looking for the .fx-build-dir file.
* Try to walk up the directory hierarchy of each of the workspace
directories, checking if any contains .fx-build-dir.
* Try to find .fx-build-dir in all of the current workspace directories.
In each case, the extension uses the location in this file to construct
a likely path where fidl-format might exist.
Change-Id: Id8bbfce3801c0a96012b71c31216c5f308494316
3 files changed