facelessuser wrote:quodlibet wrote:@facelessuser Is there any chance that you will need to extend FuzzyNav so that it can be used as a dialog for saving files?
Yeah, it is still on my list. I have a habit of taking on too much, but I will get to it.
quodlibet wrote:Thanks for keeping it mind. You had asked that I don't pester you about this until an official release. So, here I am!
In other news . . . I have gotten so used to FuzzyNav -- and I spend so much time in Sublime -- that I am only aware of it when I'm in Excel or something and I hit Ctrl+O, Ctrl+B, db <enter> and stare at my screen wondering why I am not looking at the contents of my Dropbox folder. In case it's not clear, this is a compliment.
Alex
skuroda wrote:Another question for you (well about your plugin this time). I was curious to why you chose to implement the more MS-DOS style auto completes (where you cycle though the options) rather than the more Unix (or at least what I have experienced) auto completes (where tab fills in the longest prefix). Again, if you don't feel like answering, that's fine, I was just curious.
Thanks.
skuroda wrote:That was my guess, but thought, hmm maybe there's some deep philosophical reason that I don't yet understand. Also, the windows key binding for save is set to "super+s" (which works too) rather than "ctrl+s" like I think you meant.
WIN_DRIVE = r"(^[A-Za-z]{1}\:\\)"
skuroda wrote:No problem. I agree I have to switch back and forth between the two systems, so it's not a huge deal. That being said, I've added the Unix style auto complete for me. I think I prefer because I can actually see the files that match the pattern. Where as, for example, the AdvancedNewFile plugin you can't so the Windows style works fine.
So this isn't quite worth making a pull request either, but I found another bug for you. I believe you WIN_DRIVE regex should beWIN_DRIVE = r"(^[A-Za-z]{1}\:\\)"
The missing "\\" from the group causes the issue. Granted I only tested it when "back_to_root" is called, so you may want to double check it doesn't break anything else. The problem is the group returns something like "C:" which isn't resolved as a path on windows. So, when I type "/" in the quick panel, and it took me to the sublime packages directory rather than the root.
def get_drives():
# Search through valid drive names and see if they exist.
return [unicode(d + ":") for d in "ABCDEFGHIJKLMNOPQRSTUVWXYZ" if path.exists(d + ":")]
Return to Plugin Announcements
Users browsing this forum: No registered users and 9 guests