-
Notifications
You must be signed in to change notification settings - Fork 300
Hook up showing files in hidden folders in QuickOpen. #2531
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2531 +/- ##
=========================================
+ Coverage 44.51% 44.71% +0.2%
=========================================
Files 351 352 +1
Lines 14302 14318 +16
Branches 1865 1863 -2
=========================================
+ Hits 6367 6403 +36
+ Misses 7709 7689 -20
Partials 226 226
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
I agree, for a coding tool it does not make sense to not be able to see dotfiles. I would even argue that it should be on by default, but having the configuration is enough. Any chance we can have this option to impact the File Explorer too? I can't edit important files such as |
I agree with @badosu this should be on by default imho 🤷♂️ (its very confusing behaviour that expected files are hidden in a code editor) |
I added it as a config option based on the fact there was a Perhaps @TalAmuyal could explain what they think is the best approach. Currently, I've just set it as a flag for both the QuickOpen and find in files (since I'd want it for both), but potentially that isn't the best approach? I also noticed that as part of that PR, the "--case-sensitive" flag was removed, which I didn't think much of at the time, since I thought the filtering would help on our end, but I've now realised that its causing some weird results with the quick open as well....Maybe that should be reverted, since the results are less relevant, and also it gives Oni more files to process when the processing is fairly expensive. EDIT: For clarity, the |
See: #825
Yes, I think everyone agrees with having the hidden option, the proposal it being turned on by default. |
I've swapped this over to enabled by default, but left the config option in "just in case". If @TalAmuyal is free anytime soon, it may be worth just waiting before merging to check I'm not being stupid here. |
Should probably just get this merged since there has been no opposition, could I get a re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@CrossR Can you describe this option in the wiki? |
@badosu Done! |
This adds a flag for showing hidden files, and files in hidden folders.
By default, you can't see any hidden files, nor any files in hidden folders which can be a pain, since for example in my dotfiles, most of the files are stored in "hidden" folders, such as
.config
folders.I've left it to disabled for now, but we may want to just always show them?