Skip to content
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

open search panel with text enhancement #54

Closed
zsytssk opened this issue Nov 1, 2014 · 3 comments
Closed

open search panel with text enhancement #54

zsytssk opened this issue Nov 1, 2014 · 3 comments

Comments

@zsytssk
Copy link

zsytssk commented Nov 1, 2014

I allways use "alt+q" open search panel , It's better if I can with text eg 'tag:'

{ "keys": ["alt+q"], "command": "open_evernote_note", "args": {"by_searching": true, "text": "tag:"} }
@bordaigorl bordaigorl added this to the Version 2.5.5 milestone Nov 2, 2014
@bordaigorl
Copy link
Owner

Currently, by setting "by_searching": "tag:xxx" you can launch the search for tag:xxx but you would not be presented with a prompt from which you can edit the search query.
So, what we could add would be a "prompt": true argument that would always present you with a prompt. Your command would then look like

{ "keys": ["alt+q"], "command": "open_evernote_note", "args": {"by_searching": "tag:", "prompt": true} }

What do you think?

@zsytssk
Copy link
Author

zsytssk commented Nov 3, 2014

It's better.
Is it possible allways search in the top pannel,
if I search notebook, like this
dd
I can change notebook by type two backspace and research.
It is work just like github search.
N is notebook key word can be T --> tag or S --> search

@bordaigorl
Copy link
Owner

I am not sure I understand what you mean.
Keep in mind that in order to be able to search in a panel, all the entries need to be in the panel's list already. This would mean that the plugin would have to download every note's metadata before displaying the panel and this could be very slow and inefficient...

As for the initial text in the prompt for search I may consider enabling snippets so you can write "by_searching": "tag: ${1:default} $0".

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

No branches or pull requests

2 participants