Skip to content

Recursively search for files to open #1065

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

Closed
shilorigins opened this issue Mar 11, 2024 · 0 comments · Fixed by #1226
Closed

Recursively search for files to open #1065

shilorigins opened this issue Mar 11, 2024 · 0 comments · Fixed by #1226
Labels
good first issue Issues good for new developers to PyDM

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
good first issue Issues good for new developers to PyDM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants