New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzy Table Search / Quick Open #228

Closed
jakob opened this Issue Jun 3, 2016 · 9 comments

Comments

Projects
None yet
4 participants
@jakob
Owner

jakob commented Jun 3, 2016

Many text editors and IDEs have a command to quickly open files by typing parts of a file name.

It would be convenient if Postico allowed navigating to tables by tying a part of the name, and using fuzzy string matching to find the tables.

@ottob

This comment has been minimized.

Show comment
Hide comment
@ottob

ottob Jun 3, 2016

cmd+p ?

ottob commented Jun 3, 2016

cmd+p ?

@jakob

This comment has been minimized.

Show comment
Hide comment
@jakob

jakob Jun 3, 2016

Owner

Like Sublime? Usually Cmd-P is print; I don't want to use such a standard shortcut in case I ever add print support. (I just realized that Sublime doesn't have a print command...)

Anyway, a quick survey shows that there seems to be no standard keyboard shortcut for this command:

  • XCode uses Cmd-Shift-O (Open Quickly…)
  • BBedit uses Cmd-D (Open File by Name…)
  • TextMate uses Cmd-T (Go To File…)
  • Sublime uses Cmd-P (Goto Anything…)

As I said above, I don't want to use Cmd-P since that usually means "Print", and I don't want to use Cmd-T since that usually means "New Tab". But I'm open to suggestions.

Owner

jakob commented Jun 3, 2016

Like Sublime? Usually Cmd-P is print; I don't want to use such a standard shortcut in case I ever add print support. (I just realized that Sublime doesn't have a print command...)

Anyway, a quick survey shows that there seems to be no standard keyboard shortcut for this command:

  • XCode uses Cmd-Shift-O (Open Quickly…)
  • BBedit uses Cmd-D (Open File by Name…)
  • TextMate uses Cmd-T (Go To File…)
  • Sublime uses Cmd-P (Goto Anything…)

As I said above, I don't want to use Cmd-P since that usually means "Print", and I don't want to use Cmd-T since that usually means "New Tab". But I'm open to suggestions.

@ottob

This comment has been minimized.

Show comment
Hide comment
@ottob

ottob Jun 3, 2016

Atom and Visual Studio Code also use cmd+p for fuzzy find. But I understand your concern regarding printing.

ottob commented Jun 3, 2016

Atom and Visual Studio Code also use cmd+p for fuzzy find. But I understand your concern regarding printing.

@jakob

This comment has been minimized.

Show comment
Hide comment
@jakob

jakob Aug 3, 2016

Owner

@ottob @clessg

I've added a "Quick Open" command to Postico. I decided to use cmd-P for now, despite the fact that if I ever add a print feature I'll probably need to change that shortcut.

This feature was mostly implemented by @SandroPeham, who was an intern in my company in June.

Anyway, here's a link to the latest build:
https://eggerapps-downloads.s3-eu-west-1.amazonaws.com/postico-1488.zip

Would love to hear your comments.

Owner

jakob commented Aug 3, 2016

@ottob @clessg

I've added a "Quick Open" command to Postico. I decided to use cmd-P for now, despite the fact that if I ever add a print feature I'll probably need to change that shortcut.

This feature was mostly implemented by @SandroPeham, who was an intern in my company in June.

Anyway, here's a link to the latest build:
https://eggerapps-downloads.s3-eu-west-1.amazonaws.com/postico-1488.zip

Would love to hear your comments.

@jakob jakob added the started label Aug 3, 2016

@ottob

This comment has been minimized.

Show comment
Hide comment
@ottob

ottob Aug 3, 2016

Works great so far. Nice work!

ottob commented Aug 3, 2016

Works great so far. Nice work!

@clessg

This comment has been minimized.

Show comment
Hide comment
@clessg

clessg Aug 3, 2016

Agreed, works great - very happy that this feature will be implemented soon! My only complaint is that it can be a little slow after you type something in. If it were more instantaneous, that would be wonderful.

clessg commented Aug 3, 2016

Agreed, works great - very happy that this feature will be implemented soon! My only complaint is that it can be a little slow after you type something in. If it were more instantaneous, that would be wonderful.

@jakob

This comment has been minimized.

Show comment
Hide comment
@jakob

jakob Aug 4, 2016

Owner

@clessg Yes, it's slow the first time you use it. Maybe I can improve speed by using cached data from the sidebar.

Owner

jakob commented Aug 4, 2016

@clessg Yes, it's slow the first time you use it. Maybe I can improve speed by using cached data from the sidebar.

@jakob

This comment has been minimized.

Show comment
Hide comment
@jakob

jakob Aug 5, 2016

Owner

I've just released version 1.0.9, which includes this feature. I'll leave the performance improvements for later, since that'll require a lot of refactoring unrelated to this feature.

Owner

jakob commented Aug 5, 2016

I've just released version 1.0.9, which includes this feature. I'll leave the performance improvements for later, since that'll require a lot of refactoring unrelated to this feature.

@jakob jakob closed this Aug 5, 2016

@jakob jakob added done and removed started labels Aug 5, 2016

@1st

This comment has been minimized.

Show comment
Hide comment
@1st

1st Nov 12, 2016

Why not "Command + Space", like in all code editors for autocompletion?

1st commented Nov 12, 2016

Why not "Command + Space", like in all code editors for autocompletion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment