Skip to content

Add toolbar for common functions #53

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
joewiz opened this issue Jan 17, 2019 · 4 comments
Open

Add toolbar for common functions #53

joewiz opened this issue Jan 17, 2019 · 4 comments

Comments

@joewiz
Copy link
Member

joewiz commented Jan 17, 2019

A toolbar (https://atom.io/packages/tool-bar) with buttons for common functions like "Run XQuery" and "Toggle Database View" would be useful.

A toolbar could also be used to expose commands that are currently inaccessible, like "Previous" or "Next" for paging through query results (which are currently chopped off at 10 with no means to see 11+), serialization method (currently hard coded as adaptive), indentation (currently hard coded as indent), number of results per page (currently hard coded as 10), execute xqsuite test, etc.

@joewiz
Copy link
Member Author

joewiz commented Jan 17, 2019

Another idea for a toolbar button: "New XQuery File" to mimic eXide's "New XQuery" button for opening up a new window pre-populated with the XQuery file template (xquery version "3.1";) and set to the correct file format for syntax/completion/linting.

@duncdrum
Copy link
Contributor

the new xquery file should be an atom core feature imv

@joewiz
Copy link
Member Author

joewiz commented Jan 17, 2019

Atom has a built in toolbar button that starts a new XQuery editor window prefilled with a boilerplate prolog?

@duncdrum
Copy link
Contributor

no but creating a new xquery file is core atom feature, i am weary of the overlap. How about a configurable prolog that can be stored and edited in settings and that will be copy pasted with a keyboard short-cut.

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