atom-todo-show
atom-todo-show copied to clipboard
Excluding whole projects when searching Workspace scope
When searching in the "Workspace" scope, I can't seem to find a way to ignore an entire project folder. If I add it to the ignored paths, todo-show continues to scan the contents even though I've added the project folder's name.
My repro:
- I have a project folder "processing.py" in the Atom workspace.
- Add "processing.py" to the "Ignore These Paths" field in the Config pane.
- Subfolders of "processing.py" are still scanned when using Workspace scope (e.g. "processing.py/runtime/src/...")
I would expect to be able to ignore the entire project. The use case is including a project in the workspace that's essentially a library I'm contributing to and modifying, but from which I don't want to include all the TODOs written by the original developer, just mine in my own project folders.
Adding the "processing.py" folder to your ignoreThesePaths
config should be sufficient. When you say project folder you mean a folder inside your opened Atom project containing another project and not another project opened in Atom?
Can I see your todo-show entry from config.cson and the project structure?
A screenshot of my workspace. The "project folders" are the top-level folders in the Tree View, added with the right-click option, "Add Project Folder.
config.cson looks like this:
"todo-show":
ignoreThesePaths: [
"node_modules"
"vendor"
"bower_components"
"*.pdf"
"numpy"
"libraries"
"modes"
"processing.py"
]
Thanks for taking a look!
Ahh, Ignore These Paths
does not work that way. It ignores directories and files inside a project (processing.py
in your example). Just like .gitignore
. It does not look at the project name itself inside a workspace. So if you have multiple projects open inside your workspace, you should use Todo Show: Find In Project
.