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

Recursively search for files to open #1065

Open
shilorigins opened this issue Mar 11, 2024 · 0 comments
Open

Recursively search for files to open #1065

shilorigins opened this issue Mar 11, 2024 · 0 comments

Comments

@shilorigins
Copy link
Contributor

What's the problem this feature will solve?

Displays can only open files located immediately in the calling display's directory, the cwd, and a few preset directories such as $PYDM_DISPLAYS_PATH. There is an arg extra_paths in the code, but I don't see how to access this arg from a display, and using it would require hard-coding the extra paths in advance. It would be useful for displays to be able to open files that are located anywhere under the searched directories.

Describe the solution you'd like

PyDM should recursively search directories when opening files, so that any display can open any other display that is located under the search directories.

Additional context

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

No branches or pull requests

1 participant