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

OrientDB Studio - Command Line History #5425

Closed
healiseu opened this issue Dec 4, 2015 · 10 comments
Closed

OrientDB Studio - Command Line History #5425

healiseu opened this issue Dec 4, 2015 · 10 comments
Assignees
Milestone

Comments

@healiseu
Copy link

healiseu commented Dec 4, 2015

Use the up and down key's to scroll through previously typed SQL commands

I think this is a typical feature that one expects to find and indeed that works with OrientDB console but it is not functional when you browse at OrientDB Studio.

@luigidellaquila
Copy link
Member

Hi @healiseu

CLI and Studio are quite different in terms of usability. In CLI using arrow keys to move in the query history is the only way to do that efficiently, while in Studio you have

  • clickable query history
  • bookmarks
  • highlight-and-run

Moreover, Studio Query Browser is a multi-line text panel, so arrow keys are used to move in the panel itself.

I don't think this feature can be implemented in Studio in a usable way, but maybe I'm missing something, could you please specify what you exactly mean?

Thanks

Luigi

@healiseu
Copy link
Author

healiseu commented Dec 9, 2015

OK let me state it differently. I can see that ALL arrow keys are reserved for editing the command when you Browse at Studio. But you could have Ctrl+Up, Ctrl+Down or some other shortcut to scroll through previously typed SQL commands.

In many cases this is the QUICKEST way than using the other methods you suggested. Just think that you want to access the 3rd, 4th, 5th, etc recent command in history. You just click 3, 4, 5 times and you have it in front of you.

Hope that explains better my point.....

@luigidellaquila
Copy link
Member

Hi @healiseu

Yes, it makes sense, I'm marking it as an enhancement

Thanks

Luigi

@healiseu
Copy link
Author

healiseu commented Dec 9, 2015

👍

@flintiii
Copy link

Greetings luigidellaquila,

Is there any way that I can help get the "Search in history" dialog box in the orientdb-community-2.1.12 web interface to work? When I type a word into it, for instance "select" it returns "Warning You are clearing history. Are you sure?" just as if you clicked on the trash can.

I can see that there has already been a report, which may not have been expressed very well.

I would be very happy to get guidance as to how to scroll through the web based history on 2.1.2 or register this as a bug if it really is.

Sincerely,

Flint

@wolf4ood
Copy link
Member

hi @flintiii

The search happen while typing. There is no need for Enter.
I didn't notice this earlier but if you type Enter the popup shows. I will prevent this.

@flintiii
Copy link

Greetings Enrico,

Please let me know when you have a patch in, as I would be happy to test it.

Sincerely,

Paul Flint

@lvca
Copy link
Member

lvca commented Sep 1, 2016

I've already seen this in studio. Is this fixed?

@wolf4ood
Copy link
Member

wolf4ood commented Sep 15, 2016

@lvca

yes but i'm not sure yet about the keybinding. Now are Ctrl+Up, Ctrl+Down but @luigidellaquila point it out that on Mac

Ctrl+Up, Ctrl+Down are used in editor as Page Up/Down.

We should chose another keybinding. Any proposition?

@santo-it santo-it added this to the 2.2.x (next hotfix) milestone Feb 17, 2017
wolf4ood added a commit to orientechnologies/orientdb-studio that referenced this issue Feb 20, 2017
wolf4ood added a commit to orientechnologies/orientdb-studio that referenced this issue Feb 20, 2017
@wolf4ood
Copy link
Member

Pushed with Binding Alt + up/down

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

No branches or pull requests

6 participants