When prompted in path completion, use not only the current directory, but also the project root
When you enter a path, auto-completion only considers the directory where the script is located. I would like to be able to get hints about the root of the project.
Thanks for reporting!
The parent directory of the script is currently a best guess, because the correct directory is runtime information. cd could change it anytime and it's not possible to handle this in static analysis.
I assume that showing paths from both root directory and parent directory is confusing, because at least one set will be invalid. Would you prefer to configure this per-file or per-project?
I would prefer this at the project level, but be able to toggle for a specific script. How does Database for SQL syntax do it in sql files
in sql editor:
