Exclude patterns in Find are not saved
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
“Find in files” advanced options are not saved.
What steps reproduce the problem?
- Open “Find in files”
- Do a search with for example excluding “.venv/, .git/”
- Restart Spyder
- exclude “.venv/, .git/” options have disappeared
What is the expected output? What do you see instead?
The “exclude” advanced options should be saved. This is OK with Spyder v4.2.5 . This does not work with Spyder v5.0.0 . This does not work with Spyder v5.0.1 .
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
- Spyder version: 5.0.1
- Python version: 3.9.0
- Qt version: unknown
- PyQt version: unknown
- Operating System name/version: Xubuntu 20.10 VENV
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How do I exclude a directory when using `find`? - Stack Overflow
Exclude one path, and its contents, saving time by *not* recursing down the # excluded path at all. find . -name '*.js' -not...
Read more >Why can't I exclude 2 or more patterns from the find command ...
Because of the way the options are parsed, if the first part of an or expression evaluates to true, the second part is...
Read more >Find command Exclude or Ignore Files (e.g. Ignore All Hidden ...
Explains how to find and ignore ( exclude) certain files while using UNIX / Linux / BSD find command such as all hidden...
Read more >Exclude a directory or multiple directories while using find ...
I have a lot directories and how to exclude selected directories while performing the find command to save the find execution time.
Read more >drag and drop reordering of Filters include/exclude patterns is ...
Within Settings > Filters tab, drag and drop of include/exclude patterns are not saved to the settings file. To Reproduce. In the Settings...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Right now all Spyder sessions share the same settings directory, so yeah, that’s what’s causing this issue for you.
I really don’t know if direnv solves the problem, sorry.
Hey @stephane-21, thanks for reporting. I can confirm this is a bug and we’ll fix it in our next version, to be released next weekend.