Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Unix absolute and relative paths in Jump-to-file module #56

Open
maiermic opened this issue Mar 7, 2019 · 4 comments
Open

Support Unix absolute and relative paths in Jump-to-file module #56

maiermic opened this issue Mar 7, 2019 · 4 comments

Comments

@maiermic
Copy link

maiermic commented Mar 7, 2019

Jump to file under cursor does not work most of the time. I try to use it on an \input{path/to/file.tex} with the cursor between the curly braces. I use Chrome 71.0.3578.98 on Linux Mint. So I press Alt + G, but nothing happens even though path/to/file.tex should be opened.

@hrjakobsen
Copy link
Owner

Do you use relative paths such as ../path/to/file.tex? Because they are currently not supported.

@maiermic
Copy link
Author

maiermic commented Mar 8, 2019

No, my paths start always at the project root directory and are not relative to the file they are referred from.

@hrjakobsen
Copy link
Owner

It does not work with unix paths such as /path/to/file,./path/to/file or ../path/to/file. This is something that I've wanted to implement for a while now. I will update the issue to reflect the problem.

@hrjakobsen hrjakobsen changed the title Jump to file under cursor not working Support Unix absolute and relative paths in Jump-to-file module Mar 8, 2019
@hrjakobsen
Copy link
Owner

hrjakobsen commented Mar 15, 2019

Work has begun on this in 96b88d5. It will need some more testing, but I have made it possible to extract the file-tree structure from overleaf, so that we can traverse paths with ../ and ./.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants