Comments (10)
Would you agree that if the whitelist is empty, no whitelist behaviour should occur?
Definitely. This is a bug.
from atom-project-plus.
@XanderXAJ I can't reproduce this. If you can reproduce this again, can you open the developer tools View -> Developer -> Toggle Developer Tools
and run atom.config.get("project-plus.folderWhitelist")
and atom.config.get("project-plus.folderBlacklist")
in the console?
from atom-project-plus.
Sure thing. I cleared the whitelist config, ensured the issue was reproduced, then ran the following:
atom.config.get("project-plus.folderWhitelist")
""
atom.config.get("project-plus.folderBlacklist")
""
from atom-project-plus.
@XanderXAJ @mehcode I don't have windows, but it looks like a bug
will install Windows
in VM and check this out, fix should simple :)
from atom-project-plus.
If not I can test this on Windows (didn't even think about the OS; heh) at work tomorrow. I have Windows 10 on another partition.
from atom-project-plus.
@mehcode @XanderXAJ yes it's defiantly a bug, minimatch
doesn't recognize " "
on Windows
properly
from atom-project-plus.
@XanderXAJ Please update to 0.7.2 and let us know if this is still a problem.
from atom-project-plus.
Thanks @mehcode @shemerey, I'm now getting all projects listed! :)
If this is a problem with minimatch
, consider raising an upstream bug?
from atom-project-plus.
We were essentially doing this:
minimatch.filter('{,/**,}')("project/path")
... for each path in your project. If the whitelist was an empty string. If I was the maintainer of minimatch I'd tell us to fix our usage. It's an odd thing that it didn't error on linux; it doesn't even look valid.
from atom-project-plus.
Fair enough! I hadn't gotten around to looking at the underlying code. Thanks for the explanation — and the fix!
from atom-project-plus.
Related Issues (20)
- Dramatic degrade after switching projects (one switch takes 5 minutes!!!)
- Uncaught TypeError: Cannot read property '34' of undefined
- Where are projects saved? HOT 2
- "Could not list projects" error HOT 1
- No focus when switching projects HOT 1
- Unable to use find and replace after switching project HOT 1
- tabs disappear after changing projects (ctrl+Alt+P) HOT 1
- "No saved projects" displayed when "Auto discover projects" is off
- Add autosave project.
- Document how to actually set per-project configurations HOT 2
- Projects don't show up! HOT 5
- Project path without drive letter
- Keybinding not working, 'Project Plus: Open' brings up Finder open dialog
- cannot work on Atom 1.17.0 beta HOT 7
- Tooltips don't go away after switching projects
- Deprecate in favor of project manager HOT 5
- Switching projects fails in Atom 1.17.0 HOT 1
- CHANGELOG is out of date HOT 1
- Switching projects breaks find-and-replace:select-next HOT 10
- Unable to save projects HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-project-plus.