Access to local file system?

52 views
Skip to first unread message

Dominique Orban

unread,
Feb 3, 2016, 8:29:42 PM2/3/16
to Zed user
Hi. I'm keen on writing an extension that compiles LaTeX document, but for that I need to obtain the full path of the file being edited. I didn't see that in the documentation. Could you point me in the right direction?

Thanks.

Zef Hemel

unread,
Feb 4, 2016, 12:46:49 AM2/4/16
to Zed user, Dominique Orban
Sadly, this path isn't available, because most file systems supported by Zed do not have this information or there is no physical path at all (e.g. Dropbox FS, github etc.). The chrome app file system doesn't tell you where on disk files are, for example. Are you trying to build this for the standalone version of Zed?

— Zef




On Wed, Feb 3, 2016 at 5:29 PM -0800, "Dominique Orban" <dominiq...@gmail.com> wrote:

Hi. I'm keen on writing an extension that compiles LaTeX document, but for that I need to obtain the full path of the file being edited. I didn't see that in the documentation. Could you point me in the right direction?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Zed user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zed-user+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dominique Orban

unread,
Feb 4, 2016, 11:02:27 AM2/4/16
to Zed user, dominiq...@gmail.com
Yes, it's for the standalone version. Using info.inputs.text is insufficient because LaTeX documents are typically spread over multiple files that include one another.
Reply all
Reply to author
Forward
0 new messages