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

Fix XQuery snippets #213

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Fix XQuery snippets #213

merged 1 commit into from
Feb 7, 2019

Conversation

joewiz
Copy link
Member

@joewiz joewiz commented Jan 23, 2019

According to the Ace snippets documentation at https://cloud9-sdk.readme.io/docs/snippets#section-snippets, code in the snippets file must be preceded by a tab, not spaces. The spaces used in two snippets in the query.snippets file introduced in #100 were throwing off the snippet parser.

Test: In an XQuery editor pane, type "output" and hitting control-space to trigger the snippet generator. Before, the json snippet would appear instead of the expected output namespace declaration. With this PR, the expected output namespace declaration is returned.

Note: This does not fix the bug reported in #105, which still affects the current version of eXide.

Tabs are required before code, according to https://cloud9-sdk.readme.io/docs/snippets#section-snippets. The spaces used in two snippets were throwing off the snippet parser.
@joewiz joewiz added the bug label Jan 23, 2019
@joewiz joewiz requested a review from a team January 23, 2019 16:32
@joewiz
Copy link
Member Author

joewiz commented Feb 7, 2019

@dizzzz Thank you! Could you please merge it?

@dizzzz dizzzz merged commit b94351d into eXist-db:develop Feb 7, 2019
@dizzzz
Copy link
Member

dizzzz commented Feb 7, 2019

yes sir :-)

@joewiz
Copy link
Member Author

joewiz commented Feb 7, 2019

@dizzzz @lguariento Many thanks!

@joewiz joewiz deleted the fix/xquery-snippets branch February 7, 2019 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants