Skip to content

Apply syntax highlighting to query results #55

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 · 2 comments
Open

Apply syntax highlighting to query results #55

joewiz opened this issue Jan 17, 2019 · 2 comments

Comments

@joewiz
Copy link
Member

joewiz commented Jan 17, 2019

Syntax highlighting would make query results easier to read.

With the default adaptive serialization method, treating the results as XQuery would suffice for the purpose of highlighting. This can be enabled by changing text.xml to source.xq in https://github.com/eXist-db/atom-existdb/blob/master/lib/existdb.coffee#L160, but the linter is automatically applied to this, which is not appropriate.

@duncdrum
Copy link
Contributor

@joewiz sorry i m not following. Are you saying that were we to change to source.xq we would still need to switch the linter to manual?

@joewiz
Copy link
Member Author

joewiz commented Jan 25, 2019

@duncdrum Would that disable the linter on the query results window? That's what I am after. Unfortunately I don't understand enough of the internals, so I don't know how to achieve this.

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